GNOME Bugzilla – Bug 729478
Use the correct name of the parent widget in the .ui files
Last modified: 2014-05-04 09:40:46 UTC
Example: Gtk.Paned -> GtkPaned It cause to gitg crash without the patch: $ gitg (gitg:25394): Gtk-CRITICAL **: Error building template class 'GitgWindow' for an instance of type 'GitgWindow': Invalid template parent type `Gtk.ApplicationWindow' (gitg:25394): Gtk-CRITICAL **: gtk_search_bar_connect_entry: assertion 'GTK_IS_SEARCH_BAR (bar)' failed (gitg:25394): GLib-GObject-CRITICAL **: g_object_bind_property_full: assertion 'G_IS_OBJECT (source)' failed (gitg:25394): Gtk-CRITICAL **: gtk_stack_switcher_set_stack: assertion 'GTK_IS_STACK_SWITCHER (switcher)' failed (gitg:25394): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed (gitg:25394): Gtk-CRITICAL **: gtk_container_remove: assertion 'GTK_IS_CONTAINER (container)' failed (gitg:25394): Gtk-CRITICAL **: gtk_container_remove: assertion 'GTK_IS_CONTAINER (container)' failed (gitg:25394): Gtk-CRITICAL **: gtk_container_remove: assertion 'GTK_IS_CONTAINER (container)' failed (gitg:25394): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed Segmentation fault (core dumped)
Created attachment 275763 [details] [review] ui: Use the correct name of the parent widget
Review of attachment 275763 [details] [review]: thanks
Review of attachment 275763 [details] [review]: Pushed as a7c5eda - ui: Use the correct name of the parent widget