[Bug 660787] [NEW] Please update gtkmm to 2.22

Launchpad Bug Tracker 660787 at bugs.launchpad.net
Tue Dec 7 16:34:30 GMT 2010


You have been subscribed to a public bug by Sebastien Bacher (seb128):

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’

** Affects: gtkmm2.4 (Ubuntu)
     Importance: Undecided
     Assignee: Krzysztof Klimonda (kklimonda)
         Status: In Progress


** Tags: desktop-upgrade
-- 
Please update gtkmm to 2.22
https://bugs.launchpad.net/bugs/660787
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list