Re: Examples not working



On 4 July 2014 19:16, Kjell Ahlstedt <kjell ahlstedt bredband net> wrote:
dpkg -s libglibmm-2.4-dev
gives me:
Version: 2.37.4-0ubuntu3

Ok so my version is older, then what should I do now? Install newer or
change 'add_action' part?
If latter, then replace it with what?

If you can install a newer version of glibmm without too much trouble,
that's the best solution.

The example programs in the gtkmm tutorial are updated now and then when new
API is added to glibmm or gtkmm, and old API is deprecated. If you compile
more example programs, you may find other programs that require fairly new
versions of glibmm and gtkmm.

Wait a sec,
I have 2.37.4 version of glibmm, and from this:
https://developer.gnome.org/glibmm/2.37/classGio_1_1ActionMap.html#a784dfa4573e994ac452d5e2dd56a5909
I can see that 'add_action' is supported.
So maybe I should use something like:
Gio::ActionMap::add_action

Is that okay?

-- 
Gurjot Singh
Blog: http://bhattigurjot.wordpress.com

"You gotta get hurt 'cause that's how you'll learn, You gotta try your
hardest no matter how much you'll burn." ~ Scott Singh


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