GNOME Bugzilla – Bug 389046
gtkmm's property_notification-test does not build
Last modified: 2006-12-28 21:45:56 UTC
Please describe the problem: make[3]: Entering directory `/var/soft/gnome2/cvs/gtkmm/tests/property_notification' if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gdk -I../../gtk -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk-I../../gtk -I/var/soft/gnome2/gnome-2-2/include/glibmm-2.4 -I/var/soft/gnome2/gnome-2-2/lib/glibmm-2.4/include -I/var/soft/gnome2/gnome-2-2/include/sigc++-2.0 -I/var/soft/gnome2/gnome-2-2/lib/sigc++-2.0/include -I/var/soft/gnome2/gnome-2-2/include/glib-2.0 -I/var/soft/gnome2/gnome-2-2/lib/glib-2.0/include -I/var/soft/gnome2/gnome-2-2/include/cairomm-1.0 -I/var/soft/gnome2/gnome-2-2/include/cairo -I/var/soft/gnome2/gnome-2-2/include/gtk-2.0 -I/var/soft/gnome2/gnome-2-2/lib/gtk-2.0/include -I/var/soft/gnome2/gnome-2-2/include/atk-1.0 -I/var/soft/gnome2/gnome-2-2/include/pango-1.0 -I/var/soft/gnome2/gnome-2-2/include/gtk-unix-print-2.0 -pthread -I/var/soft/gnome2/gnome-2-2/include/glib-2.0 -I/var/soft/gnome2/gnome-2-2/lib/glib-2.0/include -g -O2 -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cc; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi main.cc: In function 'int main(int, char**)': main.cc:29: error: 'class Gtk::ColorButton' has no member named 'connect_property_changed' main.cc:32: error: 'class Gtk::ColorButton' has no member named 'connect_property_changed' make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/var/soft/gnome2/cvs/gtkmm/tests/property_notification' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/soft/gnome2/cvs/gtkmm/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/soft/gnome2/cvs/gtkmm' make: *** [all] Error 2 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
What version of glibmm do you have? You will need a newer version, probably 2.10.3.
It is version 2.10.6 (current CVS HEAD).
Sorry, 2.10.6 is the gtkmm version, glibmm's version is 2.12.3 (current glibmm-2-12 branch).
I am surprised, because I think I added this in 2.12.3: " 2.12.3: * ObjectBase: Added connect_property_changed(), as an alternative to use when the property proxies are not available because GLIBMM_PROPERTIES_ENABLED is not defined. (Murray Cumming) " Could you double-check, please?
After cleaning the sources (make distclean) and the installation directory (make uninstall; something like rm *glibmm* *gtkmm*) the problem is fixed for me. The problem was probably caused by old files from former JHBuild builds.