GNOME Bugzilla – Bug 729480
Use the correct parent widget in the gedit-window.ui file
Last modified: 2014-05-04 08:39:14 UTC
It cause to crash with gtk+ from git master: $ ./gedit/gedit (lt-gedit:6446): Gtk-CRITICAL **: Error building template class 'GeditWindow' for an instance of type 'GeditWindow': Template parent type `GtkWindow' does not match instance parent type `GtkApplicationWindow'. sys:1: Warning: g_object_bind_property_full: assertion 'G_IS_OBJECT (source)' failed (lt-gedit:6446): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed sys:1: Warning: invalid (NULL) pointer instance sys:1: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (lt-gedit:6446): Gtk-CRITICAL **: gtk_menu_button_set_menu_model: assertion 'GTK_IS_MENU_BUTTON (menu_button)' failed (lt-gedit:6446): Gtk-CRITICAL **: gtk_menu_button_set_menu_model: assertion 'GTK_IS_MENU_BUTTON (menu_button)' failed (lt-gedit:6446): Gtk-CRITICAL **: gtk_statusbar_get_context_id: assertion 'GTK_IS_STATUSBAR (statusbar)' failed (lt-gedit:6446): Gtk-CRITICAL **: gtk_statusbar_get_context_id: assertion 'GTK_IS_STATUSBAR (statusbar)' failed (lt-gedit:6446): Gtk-CRITICAL **: gtk_statusbar_get_context_id: assertion 'GTK_IS_STATUSBAR (statusbar)' failed (lt-gedit:6446): GLib-GIO-CRITICAL **: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed (lt-gedit:6446): Gtk-CRITICAL **: gtk_menu_button_set_menu_model: assertion 'GTK_IS_MENU_BUTTON (menu_button)' failed Segmentation fault (core dumped)
Created attachment 275765 [details] [review] gedit-window: Use the correct parent widget
Review of attachment 275765 [details] [review]: hi, good catch, it works, push it.
Review of attachment 275765 [details] [review]: Pushed as 27bacac - gedit-window: Use the correct parent widget
Please cherry-pick on the gnome-3-10 branch too
To push to the gnome-3-10 or gnome-3-12?