[gnome-builder] gstyle: finalize after releasing resources
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] gstyle: finalize after releasing resources
- Date: Sun, 17 Dec 2017 09:56:13 +0000 (UTC)
commit adafeab460b457a6b1602761fa922bf0a24e7e4e
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 17 01:55:04 2017 -0800
gstyle: finalize after releasing resources
src/gstyle/gstyle-color-scale.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gstyle/gstyle-color-scale.c b/src/gstyle/gstyle-color-scale.c
index dd78d0e..958122e 100644
--- a/src/gstyle/gstyle-color-scale.c
+++ b/src/gstyle/gstyle-color-scale.c
@@ -603,8 +603,6 @@ gstyle_color_scale_finalize (GObject *object)
{
GstyleColorScale *self = (GstyleColorScale *)object;
- G_OBJECT_CLASS (gstyle_color_scale_parent_class)->finalize (object);
-
g_clear_object (&self->long_press_gesture);
g_clear_object (&self->default_provider);
@@ -616,6 +614,7 @@ gstyle_color_scale_finalize (GObject *object)
g_clear_pointer (&self->data_raw, g_free);
g_clear_pointer (&self->data_raw_filtered, g_free);
+ G_OBJECT_CLASS (gstyle_color_scale_parent_class)->finalize (object);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]