[gtkmm] Trouble using Gnome::UI::Stock::ABOUT



Hello,

I'm trying to use the stock item Gnome::UI::Stock::ABOUT in one of my
menus, but I get the following linker error:

: undefined reference to `Gnome::UI::Stock::ABOUT'

I'm using gtkmm2-2.2.3, libgnomemm2-1.3.10, libgnomeuimm2-1.3.16 with
all devel packages installed (my linux distribution is redhat 9).

I'm compiling with `pkg-config gtkmm-2.0 libgnomeuimm-2.0 --cflags
--libs`

The piece of code looks like this:

#include <libgnomeuimm.h>
#include <libgnomeuimm/stock.h>
...
Gtk::Menu::MenuList& menulist = m_Menu_Help.items();
                                                                               menulist.push_back(Gtk::Menu_Helpers::StockMenuElem(Gnome::UI::Stock::ABOUT,
                  SigC::slot(*this,&EditorWindow::on_menu_help_about)));
...

 I'm a beginner with gtkmm... Can anybody give me a hint about what am I
doing wrong?

Thanks.
-- 




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