Hi all,

I'm getting a series of 4 errors when using the following code fragment:

    GtkWidget                   *button_project_folder;
button_project_folder = gtk_file_chooser_button_new("Select the Project Folder", GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);

The four errors are:

**********************************

(my-app:16486): Gtk-CRITICAL **: gtk_file_system_get_volume_for_path: assertion `path != NULL' failed

(my-app:16486): Gtk-CRITICAL **: gtk_file_system_render_icon: assertion `path != NULL' failed

(my-app:16486): Gtk-CRITICAL **: gtk_file_system_get_parent: assertion `path != NULL' failed

(my-app:16486): Gtk-CRITICAL **: gtk_file_system_get_folder: assertion `path != NULL' failed

**********************************

I'm kind of surprised, as the above code is pretty much a textbook example.

I do a call to gtk_file_chooser_set_current_folder() straight after, but that doesn't help as this error has already occured at this stage.

Any ideas/pointers as to what I'm doing wrong?

Regards and best wishes,

Justin Clift
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to