LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-14-2015, 10:28 AM   #1
debguy
Member
 
Registered: Oct 2014
Location: U.S.A.
Distribution: mixed, mostly debian slackare today
Posts: 207

Rep: Reputation: 19
HELP - gtk-2.9.4 no icon load for: gtk-demo, firefox-5+


damn been doing this a while now need feedback

gtk 2.9.4 lib cannot find theme icons or default ones (ie, esp. stock icons)

(lt-gtk-demo:2766): Gtk-WARNING **: Error loading theme icon 'gtk-media-play-ltr' for stock: Failed to load icon
GTK find rend: NOT PIXBUF, print msg?

(lt-gtk-demo:2766): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(lt-gtk-demo:2766): Gtk-CRITICAL **: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed

(lt-gtk-demo:2766): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed

(lt-gtk-demo:2766): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed



I compiled (my own) Linux From Scratch. Wanted Gtk for software support (ie, fvwm). I made Gtk 1.2 and 2.9.4 both (3, not yet, way too many problems with 1,2). far as i know gtk1.2 works and so does gnome-1.xxx (i'm skippping gnome 2,3 as 1 was too timely)

so i know enough to get gnome 1.2 desktop, have fvwm2 running on 2.9.4. even ran cache update icons thing (supposedly not req.)

far as i know i installed all dependancies and re-compiled all 3x to "absorb cross-depends"

all i can see in Gtk code in gtkicontheme.c:gtk_icon_theme_load_icon


1) will load if already pre-loaded* (never)
2) will load if filename (but crashes if name is static char foo[])
must be a complex /unreliable object type?
3) will load if type svg
but the NEWST gtk/gnome icons for gtk2/gnome2 (that
dont require gtk3/gnome3) are 1/2 png 1/2 svg and
ie: "gtk-about" is not svg. i'm unsure even svg would
work.

*(note requests for default icon never get loadable - nothing in gtkicontheme.c ever tries)

meanwhile some gtk-2.9.4 demos work and show icons but not most is the problem. i think all gtk1.2 demos i ran work.

please dispel this wicked curse with bullet proof information !

but the problem is actually with debian sarge and squeeze too: after doing some updates firefox 5+ could no longer find icons. "re-installing package" of course is a laugh - would have to re-install the better part of debian after completely un-installing

-------- comments

and damn isn't the whole purpose of glib and gtk to do so, meaning minimally - a wrapper on X11 which minimally loads the simplest of widgets? and are the (mozilla other) people working on gov grants $$?

i'm finding it very difficult to decide which dependancies are needed and what versions. also ftp.gnome.org lost time on files - so one cannot even use date as an indicator of when something was released.

i think this is a problem of: they made a wrapper "to help X11 programmers do the mundane / and steal Motif" (remove job of pasting X11 code into programs or finding code to paste). HOWEVER by continually adding complexity and features it became "more glitzy" but useless to a programmer seeking simple "stable support" (as opposed to just simply pasting X11 code in their app: which NEVER FAILS and is way easier).

you see the damndest things and macros in glib/gtk code: "GtkThemePriv *GSEAL(priv) ;". and rely on the code? they break it so your app no longer compiles or even works in the field: continual breakage changes like microsoft loves.

another nuisance is glib/gtk have become a complex hack fest of supporting everything except linux (win32) posix/c - and as far as i know win32 people use that to steal linux software into win32. to such extent they are aimed to support wayland "to kill off X11, the library that they wish to avoid copyrights on but use stolen parts and wrappers of"

use X11 is my bet. and some kit really designed to offer help that doesn't make the job harder than cut and paste of code that works in any X11 (Motif? xforms maybe? or just cut and paste X11 code?)

----------------------- (bottom line)

anybody know why gtk-2.9.4 libs cannot find icons for "gtk-demo" (comes with 2.9.4 source) and firefox-5.x+ ??

what exactly is required for gtk-2.9.4 to find and load "gtk-about" in "gtk-demo" (thus, not only gtk-demo but a plethera of software which relied on gtk to ask and get icons in a particular language/fashion)

(gtk-demo makes a icon list to display a list of stock icons)

you know? not an engine problem i'm looking through code (and using gdb all libs -g) can't find where the code even *tries* to load a png. damn wierd.
 
Old 10-14-2015, 12:56 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
post reported as a duplicate

please do not double post the SAME question in two places
 
Old 10-14-2015, 01:49 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...-a-4175556137/
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Gtk-Message: Failed to load module "canberra-gtk-module" Lumify Linux - Software 26 07-08-2022 05:26 PM
F15 gconf-editor Gtk-Message: Failed to load module "pk-gtk-module" syntax error Fedora 7 11-02-2016 10:19 AM
HELP - gtk-2.9.4 - no icons: in gtk-demo firefox 5,20 debguy Linux - Desktop 3 10-14-2015 08:38 PM
the error when running the GTK-DFB Demo keika Linux - Desktop 3 03-01-2009 09:32 PM
gtk-gnutella link and icon? Skinner2 Linux - Software 1 04-30-2002 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration