[Xfce4-commits] [apps/xfdashboard] 26/31: Free property 'background-color' in XfdashboardStageInterface when object instance is disposed

noreply at xfce.org noreply at xfce.org
Thu Jun 11 19:57:21 CEST 2015


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to annotated tag 0.4.1
in repository apps/xfdashboard.

commit 174905ba10e38fa85334a3e42c0f59c9d528b7bb
Author: Stephan Haller <nomad at froevel.de>
Date:   Sat May 16 19:56:40 2015 +0200

    Free property 'background-color' in XfdashboardStageInterface when object instance is disposed
---
 xfdashboard/stage-interface.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xfdashboard/stage-interface.c b/xfdashboard/stage-interface.c
index 73f284b..0363ed1 100644
--- a/xfdashboard/stage-interface.c
+++ b/xfdashboard/stage-interface.c
@@ -233,6 +233,12 @@ static void _xfdashboard_stage_interface_dispose(GObject *inObject)
 		priv->monitor=NULL;
 	}
 
+	if(priv->backgroundColor)
+	{
+		clutter_color_free(priv->backgroundColor);
+		priv->backgroundColor=NULL;
+	}
+
 	/* Call parent's class dispose method */
 	G_OBJECT_CLASS(xfdashboard_stage_interface_parent_class)->dispose(inObject);
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list