[glade--]no matching function for call to Gtk::Menu_Helpers::ImageMenuItem()



hi everyone,

i use:
  glade-2 1.1.2
  glademm V1.1.1c_cvs
  gtkmm-1.3.23


glademm writes the following 2 lines of code with a stock menu item (quit
menu item):

  menuFile_menu->items().push_back(Gtk::Menu_Helpers::ImageMenuElem());
  menuItemQuit = (Gtk::ImageMenuItem *)&menuFile_menu->items().back();



but there is no such constructor available in gtkmm:

	CFireFlierClient_glade.cc:94: no matching function for call to
	   `Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem()'
	/home/dev01/gnomemmall/include/gtkmm-2.0/gtkmm/menu_elems.h:116: candidates
   are: Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem(const
	   Gtk::Menu_Helpers::ImageMenuElem&)
	/home/dev01/gnomemmall/include/gtkmm-2.0/gtkmm/menu_elems.h:155:
	    Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem(const Glib::ustring&,
const
	   Gtk::Menu_Helpers::AccelKey&, Gtk::Widget&, Gtk::Menu&)
	/home/dev01/gnomemmall/include/gtkmm-2.0/gtkmm/menu_elems.h:145:
	    Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem(const Glib::ustring&,
	   Gtk::Widget&, Gtk::Menu&)
	/home/dev01/gnomemmall/include/gtkmm-2.0/gtkmm/menu_elems.h:137:
	    Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem(const Glib::ustring&,
const
	   Gtk::Menu_Helpers::AccelKey&, Gtk::Widget&, const SigC::Slot0<void>& =
   Slot0<void>())
	/home/dev01/gnomemmall/include/gtkmm-2.0/gtkmm/menu_elems.h:127:
	    Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem(const Glib::ustring&,
	   Gtk::Widget&, const SigC::Slot0<void>& = Slot0<void>())
	/home/dev01/gnomemmall/include/gtkmm-2.0/gtkmm/menu_elems.h:118:
	    Gtk::Menu_Helpers::ImageMenuElem::ImageMenuElem(Gtk::ImageMenuItem&)





is it a bug or was it overseen?


--
klaus triendl




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