[Bug 660787] Re: Please update gtkmm to 2.22

Sebastien Bacher seb128 at ubuntu.com
Tue Dec 7 16:34:35 GMT 2010


** Changed in: gtkmm2.4 (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/660787

Title:
  Please update gtkmm to 2.22

Status in “gtkmm2.4” package in Ubuntu:
  In Progress

Bug description:
  Binary package hint: libgtkmm-2.4-dev

Ubuntu 10.10 (Meerkat) has GTK+ 2.22 but it only has gtkmm 2.20. This is the first time in a long time that it's got out of sync so I guess something is wrong.

It's annoying not to have the new API but it's particularly awkward because it is then impossible to build some software while disabling all deprecated API, due to the way the versions of the headers depend on each other. Disabling deprecated API is a very useful and common practice for developers, but you are likely to see errors such as this, which I will paste for the sake of people using Google in desparation:

In file included from /usr/include/gdkmm-2.4/gdkmm/drawable.h:36,
                 from /usr/include/gdkmm-2.4/gdkmm/gc.h:31,
                 from /usr/include/gdkmm-2.4/gdkmm.h:29,
                 from /usr/include/gtkmm-2.4/gtkmm.h:89,
                 from src/main_window.h:22,
                 from src/main.cc:19:
/usr/include/gdkmm-2.4/gdkmm/region.h:230: error: ‘GdkSpanFunc’ has not been declared
In file included from /usr/include/gtkmm-2.4/gtkmm/dialog.h:31,
                 from /usr/include/gtkmm-2.4/gtkmm/aboutdialog.h:30,
                 from /usr/include/gtkmm-2.4/gtkmm.h:92,
                 from src/main_window.h:22,
                 from src/main.cc:19:
/usr/include/gtkmm-2.4/gtkmm/box.h:79: error: expected class-name before ‘{’ token
/usr/include/gtkmm-2.4/gtkmm/box.h:86: error: ISO C++ forbids declaration of ‘_GtkBoxChild’ with no type
/usr/include/gtkmm-2.4/gtkmm/box.h:86: error: ‘_GtkBoxChild’ declared as an ‘inline’ field
/usr/include/gtkmm-2.4/gtkmm/box.h:86: error: expected ‘;’ before ‘*’ token
/usr/include/gtkmm-2.4/gtkmm/box.h:88: error: expected ‘;’ before ‘inline’
/usr/include/gtkmm-2.4/gtkmm/box.h:88: error: ISO C++ forbids declaration of ‘_GtkBoxChild’ with no type
/usr/include/gtkmm-2.4/gtkmm/box.h:88: error: ‘_GtkBoxChild’ declared as an ‘inline’ field
/usr/include/gtkmm-2.4/gtkmm/box.h:88: error: expected ‘;’ before ‘*’ token
/usr/include/gtkmm-2.4/gtkmm/box.h:90: error: expected ‘;’ before ‘Widget’





More information about the Ubuntu-sponsors mailing list