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

region: Silence a CRITICAL

Fall out from abb05928
parent be277759
...@@ -166,7 +166,8 @@ cc_region_panel_finalize (GObject *object) ...@@ -166,7 +166,8 @@ cc_region_panel_finalize (GObject *object)
g_free (priv->system_region); g_free (priv->system_region);
chooser = g_object_get_data (G_OBJECT (self), "input-chooser"); 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); 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