mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-10-04 21:17:29 +00:00
Debug printfs for populating the completion store
Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=19824
This commit is contained in:
parent
baeaea3ca8
commit
b2fe9f70d3
@ -747,8 +747,13 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
|
||||
GSList *paths;
|
||||
GSList *tmp_list;
|
||||
|
||||
printf ("Populating completion store\n");
|
||||
|
||||
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);
|
||||
|
||||
@ -779,6 +784,8 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
|
||||
PATH_COLUMN, path,
|
||||
-1);
|
||||
|
||||
printf ("Completion store += \"%s\"\n", display_name);
|
||||
|
||||
gtk_file_info_free (info);
|
||||
g_free (display_name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user