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

noreply at xfce.org noreply at xfce.org
Sat May 16 21:21:23 CEST 2015


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

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 9c32470534d97e27fc3270524d6beecf54f2c4d2
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