[Ekiga-devel-list] deprecated function does not work in gtk 2.14



Hi,

I have 2.14 installed on my machine.  I receive the following error:

g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib/gmconf -I../lib/toolbox -I../lib/gui -I../lib/engine/ -I../lib/engine/framework -I../lib/engine/gui/gtk-frontend -I../lib/engine/account/skel -I../lib/engine/addressbook/skel -I../lib/engine/chat/skel -I../lib/engine/presence/skel -I../lib/engine/protocol/skel -I../lib/engine/protocol/sip -I../lib/engine/videooutput/skel -I../lib/engine/videoinput/skel -I../lib/engine/audioinput/skel -I../lib/engine/audiooutput/skel -I../lib/engine/hal/skel -I../lib/engine/framework -I../lib/engine/gui/gtk-core -I../lib/engine/components/opal -I../src -I../src/dbus-helper/ -I../src/gui/ -I.. -DSCHEMA_AGE=62 -I../lib/engine/videooutput/common -I../lib/engine/videooutput/x -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_SINGLE_INCLUDES -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/opal -I/usr/include/SDL -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/libxml2 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -Wall -g -O2 -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow -MT preferences.o -MD -MP -MF .deps/preferences.Tpo -c -o preferences.o `test -f 'gui/preferences.cpp' || echo './'`gui/preferences.cpp gui/preferences.cpp: In function ‘void gm_pw_init_sound_events_page(GtkWidget*, GtkWidget*)’: gui/preferences.cpp:535: error: ‘gtk_file_chooser_button_new_with_backend’ was not declared in this scope

The reason is that gtk_file_chooser_button_new_with_backend is deprecated, cf. http://library.gnome.org/devel/gtk/stable/GtkFileChooserButton.html#gtk-file-chooser-button-new-with-backend Unfortunately, the API does not inform about the function to be used in this case. Do you know how to replace this function?

--
Eugen


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