cvs: php-gtk /test bug_gtkfilechooserbutton_actionselectfolder.phpw

From: Date: Fri, 31 Mar 2006 14:52:46 +0000
Subject: cvs: php-gtk /test bug_gtkfilechooserbutton_actionselectfolder.phpw
Groups: php.gtk.cvs 
Request: Send a blank email to php-gtk-cvs+get-2224@lists.php.net to get a copy of this message
scottmattocks Fri Mar 31 14:52:46 2006 UTC Added files: /php-gtk/test bug_gtkfilechooserbutton_actionselectfolder.phpw Log: Gtk+ errors on GtkFileChooserButton construction with Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER action. http://cvs.php.net/viewcvs.cgi/php-gtk/test/bug_gtkfilechooserbutton_actionselectfolder.phpw?view=markup&rev=1.1 Index: php-gtk/test/bug_gtkfilechooserbutton_actionselectfolder.phpw +++ php-gtk/test/bug_gtkfilechooserbutton_actionselectfolder.phpw <?php // Create a window. $window = new GtkWindow(); // Set it up to close cleanly. $window->connect_simple('destroy', array('Gtk', 'main_quit')); // Create a GtkFileChooserButton. Errors occur here. /* (bug_gtkfilechooserbutton_actionselectfolder.phpw:5679): Gtk-CRITICAL **: gtk_file_system_get_volume_for_path: assertion `path != NULL' failed (bug_gtkfilechooserbutton_actionselectfolder.phpw:5679): Gtk-CRITICAL **: gtk_file_system_render_icon: assertion `path != NULL' failed (bug_gtkfilechooserbutton_actionselectfolder.phpw:5679): Gtk-CRITICAL **: gtk_file_system_get_parent: assertion `path != NULL' failed (bug_gtkfilechooserbutton_actionselectfolder.phpw:5679): Gtk-CRITICAL **: gtk_file_system_get_folder: assertion `path != NULL' failed // Repeated a few times. */ $file = new GtkFileChooserButton('Test', Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER ); // Add the button to the window. $window->add($file); // Show everything and start the loop. $window->show_all(); Gtk::main(); ?>

« previous php.gtk.cvs (#2224) next »