From: Andrea <mar...@go...> - 2008-04-29 19:28:23
|
I've noticed a lot of warnings when running gtkpod (gtkpod:2540): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem (gtkpod:2540): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)' (gtkpod:2540): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gtkpod:2540): Gtk-CRITICAL **: gtk_menu_detach: assertion `GTK_IS_MENU (menu)' failed (gtkpod:2540): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)' (gtkpod:2540): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gtkpod:2540): Gtk-CRITICAL **: gtk_menu_detach: assertion `GTK_IS_MENU (menu)' failed (gtkpod:2540): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)' (gtkpod:2540): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gtkpod:2540): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)' (gtkpod:2540): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed The first one comes at startup and all the others at shutdown. I haven't done anything in between. It seems they are all caused by the GtkMenuToolButton new_PL_button and in particular by its menu create_playlists_menu_menu. If I remove the menu create_playlists_menu_menu from the XML no more errors appear (but of course no menu is displayed when clicking the down arrow). This menu was added in revision 1922. My big issue here is that with glade-2 I cannot see or edit the menu linked to the GtkMenuToolButton. Ive tried a new project and I still cannot edit the menu linked to a GtkMenuToolButton. How do people edit it? With glade-3 it is possible to edit it, but gtkpod.glade seems to have been created with glade-2? Here I'm using gtk 2.10.14 and glade 2.12.1. Any suggestion? |