From: Jim Evins Date: Sun, 6 Sep 2009 20:49:21 +0000 (+0000) Subject: 2009-09-06 Jim Evins X-Git-Tag: glabels-2_3_0~200 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40b43703976586165fbf035c0419b5c6e687efc2;p=glabels 2009-09-06 Jim Evins * src/color-button.c: (gl_color_button_finalize): Unreference menu in finalize. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@871 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 44cc7ed0..bfc4933d 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,8 @@ +2009-09-06 Jim Evins + + * src/color-button.c: (gl_color_button_finalize): + Unreference menu in finalize. + 2009-09-06 Jim Evins Some major refinements to the glColorCombo family of widgets. diff --git a/glabels2/src/color-button.c b/glabels2/src/color-button.c index b4645d7e..ef5a95b4 100644 --- a/glabels2/src/color-button.c +++ b/glabels2/src/color-button.c @@ -180,6 +180,7 @@ gl_color_button_finalize (GObject *object) g_return_if_fail (object && IS_GL_COLOR_BUTTON (object)); this = GL_COLOR_BUTTON (object); + g_object_ref_sink (this->priv->menu); g_free (this->priv); G_OBJECT_CLASS (gl_color_button_parent_class)->finalize (object);