LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   GTK error messages... ignore them? (http://www.linuxquestions.org/questions/slackware-14/gtk-error-messages-ignore-them-4175463210/)

digger95 05-23-2013 04:08 PM

GTK error messages... ignore them?
 
Since I've moved to an XFCE-only Slackware install I've been quite happy with it but one thing I've noticed is lots of GTK errors when starting a program from terminal. The programs always run great (Transmission in this example) and I read on another forum that these sorts of errors can simply be ignored, but it still bothers me that I'm getting them in the first place. Any help would be appreciated.

Quote:

bash-4.2$ transmission-gtk

(transmission-gtk:2028): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(transmission-gtk:2028): Gtk-CRITICAL **: gtk_icon_set_new_from_pixbuf: assertion `pixbuf != NULL' failed

(transmission-gtk:2028): Gtk-CRITICAL **: gtk_icon_theme_add_builtin_icon: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(transmission-gtk:2028): Gtk-CRITICAL **: gtk_icon_factory_add: assertion `icon_set != NULL' failed

(transmission-gtk:2028): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(transmission-gtk:2028): Gtk-CRITICAL **: gtk_icon_set_unref: assertion `icon_set != NULL' failed
Thanks for any ideas...

Jim

tuxbg 05-23-2013 04:11 PM

Well i have the same error's when i start my system.Don't worry

Ahau 05-23-2013 04:56 PM

I had some similar issues that turned out to be related to my gtk+3 theme (if this is transmission version 2.7* it's using gtk+3). Note that Xfce has two different "themes" you get to wrestle with -- one is the gtk theme, which is what you set with Settings -> Appearance -> Style and it generally changes things inside the borders of the windows -- things like the button placement, progress bar colors, etc. The other themes are for the window manager (xfwm4) and are set through Settings -> Window Manager -> Style and that changes the border shape/color and the close/minimize, etc. buttons.

Some themes require an "engine" in order to fully function. If you've installed a custom theme, you might need something like "gtk-engines", "gtk-engines-unico", "murrine", etc., -- usually they'll mention the requirements on the theme's page on xfce-look.org or gnome-look.org.

I was finally able to resolve the last of these issues on my system yesterday, when I discovered that my gtk theme (Evolve) was intended to run on gtk+3.6, and slack 14 has gtk+3.4. In order to resolve the issue, I had to downgrade to an older 3.4 compliant version of the gtk+3 theme and also run "make" on it!

Granted, the programs still run and everything looked OK before, but I think there were some things that failed to work before (some gradient shading was the most noticeable). So yeah, ignore it or chase down your theming, or it could be another issue entirely lol. HTH

digger95 05-25-2013 07:51 PM

Thank you very much, Ahau. Like I said the programs run just fine despite the error messages, and I think most people just ignore them, but your post was very helpful and I will definitely try the things that you suggested.

bartgymnast 05-27-2013 05:03 AM

Please note that XFCE is a GTK+2 DE
so running gtk+3 themes on XFCE tends to bring problems.

development on XFCE is pretty stale at the moment.
the port to GTK+3 takes forever and I wonder if they ever port it.

Untill than I suggest to install GTK+2 themes only for XFCE

Ahau 05-27-2013 01:50 PM

I disagree. While Xfce has a hard dependency on gtk2 and gtk3 is only supported in a few of the components, Xfce does support gtk3 widget themes. In fact, it has to do so for any gtk3 application, and inside most (if not all) of the themes that ship with Xfce, you'll find a 'gtk-3.0' folder for the purpose of rendering the gtk3 style for these applications. The Xfce development team also just released a new version (4.10.1) for many components, and in the last six months, we've also seen substantial updates to Thunar, mousepad, and several of the other applications and plug-ins.

273 05-27-2013 02:08 PM

Thanks, Ahau, I came across this thread by chance and it explained why my XFCE themes all looked a lot the same and a little "wrong" -- I've not installed more GTK engines and things look much better.

bartgymnast 05-28-2013 04:05 AM

Quote:

Originally Posted by Ahau (Post 4959989)
I disagree. While Xfce has a hard dependency on gtk2 and gtk3 is only supported in a few of the components, Xfce does support gtk3 widget themes. In fact, it has to do so for any gtk3 application, and inside most (if not all) of the themes that ship with Xfce, you'll find a 'gtk-3.0' folder for the purpose of rendering the gtk3 style for these applications. The Xfce development team also just released a new version (4.10.1) for many components, and in the last six months, we've also seen substantial updates to Thunar, mousepad, and several of the other applications and plug-ins.

I do not say GTK+3 themes do not work.
I say it is not suggested.

GTK+3 is so havily changing with each version that themes break very fast.

Tip 1: Slackware-current will break themes
Tip 2: If you use GTK+3 themes, use the ones compatible with the version of GTK+3 you have installed.
a theme that has been made for GTK+3 3.6 will most likely give problems when run on other versions than 3.6

gmgf 05-28-2013 04:57 AM

Yes, i agree, it's a big problem for developper of gtk+3 themes, some have abandoned.

kikinovak 05-28-2013 05:26 AM

Quote:

Originally Posted by bartgymnast (Post 4959724)
Please note that XFCE is a GTK+2 DE
so running gtk+3 themes on XFCE tends to bring problems.

I'm running Clearlooks Phenix under Xfce. It's a combined GTK2+GTK3 theme, and works without any problems.


All times are GMT -5. The time now is 03:27 AM.