#45229: GTK3 ------------------------------+------------------- Reporter: heinrich.adam@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gtk3 | ------------------------------+------------------- Changes (by mf2k@…): * owner: macports-tickets@… => cal@… * cc: devans@… (added) * keywords: GTK3 => * port: GTK3 => gtk3 Old description:
if I run :
{{{ static void doSetzenFileName (long pfilenummer) { GtkWidget *lfilechooserdialog;
char *lFileName;
lfilechooserdialog = gtk_file_chooser_dialog_new ("Ein File wählen ...", GTK_WINDOW (NotenZusammenziehenWindow), GTK_FILE_CHOOSER_ACTION_OPEN, "_Abbrechen", GTK_RESPONSE_CANCEL, "_Weiter", GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_select_multiple ((GtkFileChooser *)lfilechooserdialog, FALSE);
if (gtk_dialog_run (GTK_DIALOG (lfilechooserdialog)) == GTK_RESPONSE_ACCEPT) { GtkFileChooser *chooser = GTK_FILE_CHOOSER (lfilechooserdialog); lFileName = gtk_file_chooser_get_filename (chooser); g_free (lFileName); }
gtk_widget_destroy (lfilechooserdialog); } }}}
I receive the following error messages :
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden
(test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Program ended with exit code: 0
New description: if I run : {{{ static void doSetzenFileName (long pfilenummer) { GtkWidget *lfilechooserdialog; char *lFileName; lfilechooserdialog = gtk_file_chooser_dialog_new ("Ein File wählen ...", GTK_WINDOW (NotenZusammenziehenWindow), GTK_FILE_CHOOSER_ACTION_OPEN, "_Abbrechen", GTK_RESPONSE_CANCEL, "_Weiter", GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_select_multiple ((GtkFileChooser *)lfilechooserdialog, FALSE); if (gtk_dialog_run (GTK_DIALOG (lfilechooserdialog)) == GTK_RESPONSE_ACCEPT) { GtkFileChooser *chooser = GTK_FILE_CHOOSER (lfilechooserdialog); lFileName = gtk_file_chooser_get_filename (chooser); g_free (lFileName); } gtk_widget_destroy (lfilechooserdialog); } }}} I receive the following error messages : {{{ (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Symbol ?image-missing? nicht im Thema vorhanden (test:1412): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (test:1412): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Program ended with exit code: 0 }}} -- Comment: In the future, please Cc the port maintainers ({{{port info --maintainers gtk3}}}). -- Ticket URL: <https://trac.macports.org/ticket/45229#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X