After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 124571 - gtkmm build problems
gtkmm build problems
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.0
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-10-14 14:09 UTC by Tim Vismor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Tim Vismor 2003-10-14 14:09:38 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());
}
Comment 1 Murray Cumming 2003-10-15 06:49:22 UTC
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)?
Comment 2 Tim Vismor 2003-10-15 13:28:28 UTC
This is gtkmm module from cvs (2.4)
Comment 3 Murray Cumming 2003-10-15 19:07:34 UTC
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.
Comment 4 Murray Cumming 2003-10-15 19:08:52 UTC
> For ComboBox, it has changed to inherit from HBox 
Sorry, that was nonsense. I'm working on it.
Comment 5 Murray Cumming 2003-10-15 19:15:17 UTC
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.
Comment 6 Murray Cumming 2003-10-17 16:32:13 UTC
Fixed in cvs.