GNOME Bugzilla – Bug 124571
gtkmm build problems
Last modified: 2004-12-22 21:47:04 UTC
Using jhbuild on 10/14/03 with moduleset gnome26, gtkmm build fails in three places: 1) combo.cc If the line #include <gtk/gtkcombo.h> (~line 33) is moved into the #undef GTK_DISABLE_DEPRECATED clause the build succeeds. 2) combo.ccg If the line #include <gtk/gtkcombo.h> (~line 28) is moved into the #undef GTK_DISABLE_DEPRECATED clause the build succeeds. 3) combobox.cc The functions wrapped by the pack_start, pack_end, and clear methods (lines 150-163) do not exist. void ComboBox::pack_start(CellRenderer& cell, bool expand) { UNDEFINED ====> gtk_combo_box_pack_start(gobj(), (cell).gobj(), static_cast<int>(expand)); } void ComboBox::pack_end(CellRenderer& cell, bool expand) { UNDEFINED ====> gtk_combo_box_pack_end(gobj(), (cell).gobj(), static_cast<int>(expand)); } void ComboBox::clear() { UNDEFINED ====> gtk_combo_box_clear(gobj()); }
I guess that this is gktmm 2.2 rather than gtkmm 1.2. Or is this gtkmm 2.4 (The gtkmm cvs module, rather than the gtkmm2 module)?
This is gtkmm module from cvs (2.4)
For Combo, we need to remove the 2 lines that mentin GTK_DISABLE_DEPRECATED. I am happy for somebody to check that in, with a ChangeLog entry. For ComboBox, it has changed to inherit from HBox instead of Bin, so it doesn't need extra pack_* methods. Again, I am happy for somebody to fix it. I can't fix it right now myself because my connection is crappy.
> For ComboBox, it has changed to inherit from HBox Sorry, that was nonsense. I'm working on it.
re ComboBox. The functions were removed: http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=HEAD&file=%2Fgtk%2B%2Fgtk%2Fgtkcombobox.h&date=month These methods should be removed from combobox.hg.
Fixed in cvs.