Re: Examples not working



The version of add_action() used here, was added 2013-08-07 and first appeared in glibmm 2.37.6. Which version of glibmm do you use?

Kjell

2014-07-04 10:37, Gurjot Singh skrev:
Hi,

The examples shown here:
https://developer.gnome.org/gtkmm-tutorial/stable/sec-menus-examples.html.en

they are not working.
I'm getting this error:

examplewindow.cc: In constructor ‘ExampleWindow::ExampleWindow()’:
examplewindow.cc:18:67: error: no matching function for call to
‘Gio::SimpleActionGroup::add_action(const char [12],
sigc::bound_mem_functor0<void, ExampleWindow>)’
     sigc::mem_fun(*this, &ExampleWindow::on_menu_file_new_generic));

and more similar errors.

What might be wrong?
Help would be appreciated.

Regards



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]