[gnome-builder/gnome-builder-3-26] gstyle: fix invalid finalize



commit 638f33b34b8c83985ce39de49efe7a083368f9a5
Author: Christian Hergert <chergert redhat com>
Date:   Sun Dec 17 01:58:32 2017 -0800

    gstyle: fix invalid finalize

 contrib/gstyle/gstyle-color-scale.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/contrib/gstyle/gstyle-color-scale.c b/contrib/gstyle/gstyle-color-scale.c
index f6f2f32..eeffe58 100644
--- a/contrib/gstyle/gstyle-color-scale.c
+++ b/contrib/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);
   g_sequence_free (self->custom_color_stops);
@@ -618,6 +616,8 @@ gstyle_color_scale_finalize (GObject *object)
 
   g_free (self->data_raw);
   g_free (self->data_raw_filtered);
+
+  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]