[gnome-control-center] color: Fix a crash if the user closes the window after calibrating
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] color: Fix a crash if the user closes the window after calibrating
- Date: Thu, 12 Dec 2013 13:48:45 +0000 (UTC)
commit 31b82a786311318fdd29a6724fb714d5dda0f614
Author: Richard Hughes <richard hughsie com>
Date: Thu Dec 12 13:45:54 2013 +0000
color: Fix a crash if the user closes the window after calibrating
The assistant_calib is set from gtk_builder_get_object() and so should not be
destroyed manually.
panels/color/cc-color-panel.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
index 590973d..90b40c8 100644
--- a/panels/color/cc-color-panel.c
+++ b/panels/color/cc-color-panel.c
@@ -2104,7 +2104,6 @@ cc_color_panel_dispose (GObject *object)
g_clear_object (&priv->list_box_size);
g_clear_pointer (&priv->sensors, g_ptr_array_unref);
g_clear_pointer (&priv->list_box_filter, g_free);
- g_clear_pointer (&priv->assistant_calib, gtk_widget_destroy);
g_clear_pointer (&priv->dialog_assign, gtk_widget_destroy);
G_OBJECT_CLASS (cc_color_panel_parent_class)->dispose (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]