Re: gnome-libs gtk_toggle_button_set_state?



Brandon S. Allbery wrote:
> 
> gcc -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations
> -Wpointer-arith -o .libs/gnome_segv gnome_segv.o -Wl,--rpath
> -Wl,/opt/gnome/lib ../libgnomeui/.libs/libgnomeui.so -L/opt/gnome/lib -lesd
> -laudiofile -lm -lposix4 -lsocket -lbind -lmalloc -laudiofile -ldb
> -L/opt/gnome/lib -lglib -L/opt/gnome/lib -lgdk_imlib -L/opt/gnome/lib
> -L/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXext -lX11 -lsocket
> -lnsl -lw -lm -ljpeg -ltiff -ljpeg -lz -lungif -lpng -lz -lbind -lmalloc -lm
> -L/opt/gnome/lib -L/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXext
> -lX11 -lsocket -lnsl -lw -lm -lsocket -lnsl -lm -lbind -lmalloc -lsocket
> -Wl,--rpath -Wl,/opt/gnome/lib ../libgnome/.libs/libgnome.so -L/opt/gnome/lib
> -lglib -lm -lsocket -lnsl -lm -lbind -lmalloc -lsocket -Wl,--rpath
> -Wl,/opt/gnome/lib ../libart_lgpl/.libs/libart_lgpl.so -lbind -lmalloc
> -Wl,--rpath -Wl,/opt/gnome/lib ../support/.libs/libgnomesupport.so -lsocket
> -lnsl -lm -lbind -lmalloc -lsocket -L/opt/gnome/lib -lesd -laudiofile -lm
> -lposix4 -lsocket -lbind -lmalloc -laudiofile -ldb -L/opt/gnome/lib -lglib
> -L/opt/gnome/lib -lgdk_imlib -L/opt/gnome/lib -L/usr/openwin/lib
> -R/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXext -lX11 -lsocket
> -lnsl -lw -lm -ljpeg -ltiff -ljpeg -lz -lungif -lpng -lz -lbind -lmalloc -lm
> -L/opt/gnome/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule
> -lglib -lintl -lXext -lX11 -lsocket -lnsl -lw -lm -lintl -lsocket -lnsl -lm
> -lbind -lmalloc -lsocket
> ../libgnomeui/.libs/libgnomeui.so: undefined reference to
> `gtk_toggle_button_set_state'
> make[2]: *** [gnome_segv] Error 1
> make[2]: Leaving directory `/home/allbery/bld/gnome-libs/libgnomeui'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/allbery/bld/gnome-libs'
> make: *** [all-recursive-am] Error 2

gtk_toggle_button_set_state has been made obsolete by
gtk_toggle_button_set_active. To quote the changelog from gtk+:

"s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
        set_state is already taken by gtkwidget.h."

///Johan

-- 
+-----------------------+---------------------------------------+
| Johan Groth           | jgroth(at)xpress.se                   |
| Kupolen Data		| Johan.Groth(at)ein.ericsson.se        |
| Karlstad, Sweden      |                                       |
+-----------------------+---------------------------------------+



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