[opensuse-packaging] Need help from somebody familiar with gtkmm2
Hi, I'm trying to fix the factory build of multimedia:apps seq24 which I branched in home:plater seq24. It builds correctly against a linked 11.2 gtkmm2 but fails with the factory one on :- mainwnd.cpp: In member function 'void mainwnd::file_import_dialog()': mainwnd.cpp:598:49: error: invalid conversion from 'Gtk::ButtonBox*' to 'Gtk::HButtonBox*'
From this I come to the conclusion that the factory version of gtkmm2 has changed. Does anyone have any idea what change in gtk2mm could have caused this? Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Mon, 19 Apr 2010 21:16:05 +0200, Dave Plater <davejplater@gmail.com> wrote:
From this I come to the conclusion that the factory version of gtkmm2 has changed. Does anyone have any idea what change in gtk2mm could have caused this?
Just look in the headers :) In /usr/include/gtkmm-2.4/gtkmm/dialog.h line 347 and on you'll find: // This previously returned an HButtonBox*, which broke on Maemo // Fremantle. // Changed post-2.18.2 /** Returns:the action area. * @return The action area. * * @newin{2,14}. */ ButtonBox* get_action_area(); The fix is to test the return type in in configure and then use that type in mainwnd.cpp. I've filed a SR for this. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 04/20/2010 05:53 AM, Philipp Thomas wrote:
On Mon, 19 Apr 2010 21:16:05 +0200, Dave Plater <davejplater@gmail.com> wrote:
From this I come to the conclusion that the factory version of gtkmm2 has changed. Does anyone have any idea what change in gtk2mm could have caused this?
Just look in the headers :) In /usr/include/gtkmm-2.4/gtkmm/dialog.h line 347 and on you'll find:
// This previously returned an HButtonBox*, which broke on Maemo // Fremantle. // Changed post-2.18.2
/** Returns:the action area. * @return The action area. * * @newin{2,14}. */ ButtonBox* get_action_area();
The fix is to test the return type in in configure and then use that type in mainwnd.cpp. I've filed a SR for this.
Philipp
Thanks for the help, request accepted. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Dave Plater
-
Philipp Thomas