Commit 66c69759 authored by Debarshi Ray's avatar Debarshi Ray

region: Silence a CRITICAL

Fall out from abb05928

https://bugzilla.gnome.org/show_bug.cgi?id=758417
parent be277759
......@@ -166,7 +166,8 @@ cc_region_panel_finalize (GObject *object)
g_free (priv->system_region);
chooser = g_object_get_data (G_OBJECT (self), "input-chooser");
gtk_widget_destroy (chooser);
if (chooser)
gtk_widget_destroy (chooser);
G_OBJECT_CLASS (cc_region_panel_parent_class)->finalize (object);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment