Re: libgnomeui/gnome-app.c and gtk_toolbar_set_button_relief



| libgnomeui/gnome-app.c uses gtk_toolbar_set_button_relief which seems
| not to exist in gtk+-1.0.4.

True.  I ran into a slightly different version of this problem yesterday,
and it persists today...

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/usr/local/include
-I/usr/local/lib/glib/include -I/usr/local/include -DNEED_GNOMESUPPORT_H
-I../support -I../support -I../intl -I../intl -DGNOMELIBDIR=\"/usr/local/lib\"
-DGNOMEDATADIR=\"/usr/local/share\" -DGNOMEBINDIR=\"/usr/local/bin\"
-DGNOMELOCALSTATEDIR=\"/usr/local/var\"
-DGNOMELOCALEDIR=\"/usr/local/share/locale\" -I/usr/include
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/lib/glib/include
-I/usr/local/include -g -O2 -Wp,-MD,.deps /gnome-app.p -c -fPIC -DPIC \
gnome-app.c 
gnome-app.c: In function `gnome_app_set_toolbar':
gnome-app.c:570: `GTK_RELIEF_NONE' undeclared (first use this function)
gnome-app.c:570: (Each undeclared identifier is reported only once
gnome-app.c:570: for each function it appears in.)
gmake[2]: *** [gnome-app.lo] Error 1

Grepping for "GTK_RELIEF_NONE" in /usr/local/include/(((gtk|gdk)/)|glib.h) 
with GTK+-1.0.4 installed finds nothing... grepping for "relief" finds
nothing, either, so the next problem I would run into would be the
inability to find gtk_toolbar_set_button_relief(...).

The line in question is:
gnome-app.c:570: gtk_toolbar_set_button_relief(toolbar, GTK_RELIEF_NONE);

So, havoc... what version of GTK are _you_ using? :)

(gnome-libs/libgnomeui/ChangeLog:

Mon Jun 29 14:10:48 1998  Havoc Pennington  <hp@pobox.com>

        * gnome-preferences.h, gnome-preferences.c 
        (gnome_preferences_get_toolbar_relief,
        gnome_preferences_set_toolbar_relief): Whether the toolbar buttons
        have the beveled edge.
        * gnome-app.c (gnome_app_set_toolbar): Turn off the toolbar button
        relief if user requested it. 

...jsled



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]