GNOME Bugzilla – Bug 124671
libgnomeprintui doesn't compile because undefind gtk functions used
Last modified: 2004-12-22 21:47:04 UTC
I am building from CVS HEAD. gnome-print-unit-selector.c (1.4, Oc 14 22:51) calls some gtk functions that are not defined elsewhere. I searched my Gnome source (incl gtk modules) but did not find these functions. Makefile output: gnome-print-unit-selector.c: In function `cb_gpus_combo_changed': gnome-print-unit-selector.c:131: warning: implicit declaration of function `gtk_combo_box_get_model' gnome-print-unit-selector.c:131: warning: implicit declaration of function `GTK_COMBO_BOX' gnome-print-unit-selector.c:131: warning: assignment makes pointer from integer without a cast gnome-print-unit-selector.c:132: warning: implicit declaration of function `gtk_combo_box_get_active' gnome-print-unit-selector.c: In function `gnome_print_unit_selector_init': gnome-print-unit-selector.c:166: warning: implicit declaration of function `gtk_combo_box_new' gnome-print-unit-selector.c:166: warning: assignment makes pointer from integer without a cast gnome-print-unit-selector.c:168: warning: implicit declaration of function `gtk_cell_layout_pack_start' gnome-print-unit-selector.c:168: warning: implicit declaration of function `GTK_CELL_LAYOUT' gnome-print-unit-selector.c:169: warning: implicit declaration of function `gtk_cell_layout_set_attributes' gnome-print-unit-selector.c: In function `gpus_rebuild_menu': gnome-print-unit-selector.c:262: warning: assignment makes pointer from integer without a cast gnome-print-unit-selector.c:286: warning: implicit declaration of function `gtk_combo_box_set_active'
I mailed Jonathan about this bug since he had made some related changes recently, this is what he said: He's trying to compile it against GTK+-2.2, and not 2.4. Heshould compile against the gnome-2-4 tag or update his GTK+. We shouldprobably update the configure check there, though.Thanks,-Jonathan