mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-10-04 21:17:29 +00:00
Remove debug printfs from populate_completion_store()
Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19827
This commit is contained in:
parent
a531c03baf
commit
e7009432b2
@ -750,10 +750,7 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
|
|||||||
printf ("Populating completion store\n");
|
printf ("Populating completion store\n");
|
||||||
|
|
||||||
if (!gtk_file_folder_list_children (chooser_entry->current_folder, &paths, NULL)) /* NULL-GError */
|
if (!gtk_file_folder_list_children (chooser_entry->current_folder, &paths, NULL)) /* NULL-GError */
|
||||||
{
|
return;
|
||||||
printf ("No children in the folder! Leaving an empty completion store.\n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
discard_completion_store (chooser_entry);
|
discard_completion_store (chooser_entry);
|
||||||
|
|
||||||
@ -768,8 +765,6 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
|
|||||||
|
|
||||||
path = tmp_list->data;
|
path = tmp_list->data;
|
||||||
|
|
||||||
printf ("Getting info for %s\n", (char *) path);
|
|
||||||
|
|
||||||
info = gtk_file_folder_get_info (chooser_entry->current_folder,
|
info = gtk_file_folder_get_info (chooser_entry->current_folder,
|
||||||
path,
|
path,
|
||||||
NULL); /* NULL-GError */
|
NULL); /* NULL-GError */
|
||||||
@ -786,8 +781,6 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
|
|||||||
PATH_COLUMN, path,
|
PATH_COLUMN, path,
|
||||||
-1);
|
-1);
|
||||||
|
|
||||||
printf ("Completion store += \"%s\"\n", display_name);
|
|
||||||
|
|
||||||
gtk_file_info_free (info);
|
gtk_file_info_free (info);
|
||||||
g_free (display_name);
|
g_free (display_name);
|
||||||
}
|
}
|
||||||
@ -800,8 +793,6 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
|
|||||||
|
|
||||||
gtk_entry_completion_set_model (gtk_entry_get_completion (GTK_ENTRY (chooser_entry)),
|
gtk_entry_completion_set_model (gtk_entry_get_completion (GTK_ENTRY (chooser_entry)),
|
||||||
GTK_TREE_MODEL (chooser_entry->completion_store));
|
GTK_TREE_MODEL (chooser_entry->completion_store));
|
||||||
|
|
||||||
printf ("Finished populating completion store\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* When we finish loading the current folder, this function should get called to
|
/* When we finish loading the current folder, this function should get called to
|
||||||
|
Loading…
Reference in New Issue
Block a user