[Xfce4-commits] [apps/xfdashboard] 04/04: Check for valid canvas before invalidating
noreply at xfce.org
noreply at xfce.org
Thu May 21 21:37:40 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 1da3cd06b67d6017cdeeddc7c1e67b66d1f6805b
Author: Stephan Haller <nomad at froevel.de>
Date: Thu May 21 21:36:53 2015 +0200
Check for valid canvas before invalidating
---
xfdashboard/background.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xfdashboard/background.c b/xfdashboard/background.c
index d41dba8..21c2b8a 100644
--- a/xfdashboard/background.c
+++ b/xfdashboard/background.c
@@ -597,7 +597,7 @@ void xfdashboard_background_set_background_type(XfdashboardBackground *self, con
priv->type=inType;
/* Force redraw of background canvas */
- clutter_content_invalidate(priv->fillCanvas);
+ if(priv->fillCanvas) clutter_content_invalidate(priv->fillCanvas);
/* Enable or disable drawing outline */
if(inType & XFDASHBOARD_BACKGROUND_TYPE_OUTLINE) enableOutline=TRUE;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list