diff options
Diffstat (limited to 'plugins/gtk+/glade-gtk-header-bar.c')
-rw-r--r-- | plugins/gtk+/glade-gtk-header-bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtk+/glade-gtk-header-bar.c b/plugins/gtk+/glade-gtk-header-bar.c index 7a9f5082..d93ac21e 100644 --- a/plugins/gtk+/glade-gtk-header-bar.c +++ b/plugins/gtk+/glade-gtk-header-bar.c @@ -83,7 +83,7 @@ glade_gtk_header_bar_post_create (GladeWidgetAdaptor *adaptor, GladeWidget *parent = glade_widget_get_from_gobject (container); GladeProject *project = glade_widget_get_project (parent); - if (glade_project_is_loading (project)) + if (project && glade_project_is_loading (project)) { g_signal_connect_object (project, "parse-finished", G_CALLBACK (glade_gtk_header_bar_parse_finished), |