error in gtkmm-2.4.5 ?



when i copy and compile and run the second example at http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch10s04.html i get

   (ue1:11067): Gtk-WARNING **: ContextMenu: missing action

   (ue1:11067): Gtk-CRITICAL **: file gtkcontainer.c: line 1285
   (gtk_container_foreach): assertion `GTK_IS_CONTAINER (container)' failed

   (ue1:11067): Gtk-CRITICAL **: file gtkmenushell.c: line 352
   (gtk_menu_shell_insert): assertion `GTK_IS_MENU_SHELL (menu_shell)'
   failed

   (ue1:11067): Gtk-CRITICAL **: file gtkuimanager.c: line 1812
   (find_menu_position): assertion `GTK_IS_MENU_SHELL (menushell)' failed

   (ue1:11067): GLib-GObject-WARNING **: invalid (NULL) pointer instance

   (ue1:11067): GLib-GObject-CRITICAL **: file gsignal.c: line 1634
   (g_signal_connect_data): assertion `G_TYPE_CHECK_INSTANCE
   (instance)' failed

   (ue1:11067): Gtk-CRITICAL **: file gtkuimanager.c: line 1810
   (find_menu_position): assertion `GTK_IS_WIDGET (prev_child)' failed

   (ue1:11067): GLib-GObject-WARNING **: invalid (NULL) pointer instance

   (ue1:11067): GLib-GObject-CRITICAL **: file gsignal.c: line 1634
   (g_signal_connect_data): assertion `G_TYPE_CHECK_INSTANCE
   (instance)' failed

but no popup menu [ m_refUIManager->get_widget("/MenuBar/ContextMenu") == 0].
as mentioned in the subject i'm using gtkmm-2.4.5 ....



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