Opened 10 years ago
Closed 2 years ago
#45229 closed defect (fixed)
gtk3: Error loading theme icon
Reported by: | olmanolman | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: | gtk3 |
Description (last modified by mf2k (Frank Schima))
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
Change History (13)
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Cc: | devans@… added |
---|---|
Description: | modified (diff) |
Keywords: | GTK3 removed |
Owner: | changed from macports-tickets@… to cal@… |
Port: | gtk3 added; GTK3 removed |
comment:2 follow-up: 3 Changed 10 years ago by neverpanic (Clemens Lang)
You probably need gnome-icon-theme
?
comment:4 Changed 10 years ago by dbevans (David B. Evans)
Replying to heinrich.adam@…:
What does this meens ?
The warning messages in your example indicate that the 'image missing' icon cannot be found. This icon is provided by port gnome-icon-theme. Installing that port should quiet these warnings.
sudo port install gnome-icon-theme
comment:5 Changed 10 years ago by neverpanic (Clemens Lang)
I can in fact reproduce the problem with the gtk3-demo
app. Maybe we should add a dependency? Why does gnome-icon-theme need gtk3 to build?
comment:6 Changed 10 years ago by dbevans (David B. Evans)
gtk3 provides gtk-update-icon-cache-3.0 which is needed by gnome-icon-theme.
Also note that gnome-icon-theme and friends are on their way out as of 3.14.0, replaced by adwaita-icon-theme. Not all references are removed as yet. In gtk3, most usages are in deprecated API but not all.
At any rate, the fact that 'image-missing' is being used probably indicates that some other icon is missing and it is falling back.
With gtk 3.14.0, if I have gnome-themes-standard installed (which also installs adwaita-icon-theme, gnome-backgrounds), gtk3-demo works without any warning messages.
comment:7 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | GTK3 → gtk3: Error loading theme icon |
---|
Is this still an issue with current versions?
comment:8 Changed 8 years ago by neverpanic (Clemens Lang)
Cc: | dbevans removed |
---|---|
Owner: | changed from neverpanic to dbevans |
Status: | new → assigned |
comment:10 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | changed from dbevans to mascguy |
---|
Take over Dave's tickets for GTK and friends, now that he's formally dropped maintainership. Boo! ;-)
comment:11 follow-up: 12 Changed 3 years ago by bll123 (Brad Lanam)
Another issue is that adwaita-icon-theme is dependent on gtk3, but if using gtk3-devel, it can be hard to install.
Workaround:
port install gtk3
port install adwaita-icon-theme
port uninstall gtk3
port install gtk3-devel
Can adwaita-icon-theme be made to be dependent on gtk3 OR gtk3-devel?
comment:12 Changed 2 years ago by mascguy (Christopher Nielsen)
Replying to bll123:
Another issue is that adwaita-icon-theme is dependent on gtk3, but if using gtk3-devel, it can be hard to install.
Can adwaita-icon-theme be made to be dependent on gtk3 OR gtk3-devel?
It's already setup that way:
$ port -v deps adwaita-icon-theme Full Name: adwaita-icon-theme @3.38.0_0 Extract Dependencies: bin:xz:xz Build Dependencies: port:pkgconfig, port:autoconf, port:automake, port:libtool Library Dependencies: path:lib/pkgconfig/gtk+-3.0.pc:gtk3, path:lib/pkgconfig/librsvg-2.0.pc:librsvg
comment:13 Changed 2 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In the future, please Cc the port maintainers (
port info --maintainers gtk3
).