[Xfce4-commits] [apps/xfdashboard] 01/01: Environment variable must be set AND set to anything than "0" (zero) to activate experimental code to resume window content in an idle source

noreply at xfce.org noreply at xfce.org
Mon Jun 8 21:35:11 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 e479f906d020735544e49b5c8d6b8ae0b8e5ac33
Author: Stephan Haller <nomad at froevel.de>
Date:   Mon Jun 8 21:34:23 2015 +0200

    Environment variable must be set AND set to anything than "0" (zero) to activate experimental code to resume window content in an idle source
---
 xfdashboard/window-content.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfdashboard/window-content.c b/xfdashboard/window-content.c
index 0710b7b..82c0fc9 100644
--- a/xfdashboard/window-content.c
+++ b/xfdashboard/window-content.c
@@ -320,7 +320,7 @@ static gboolean _xfdashboard_window_content_resume_on_idle_is_enabled(void)
 		const gchar		*envValue;
 
 		envValue=g_getenv("XFDASHBOARD_WINDOW_CONTENT_RESUME_ON_IDLE");
-		if(g_strcmp0(envValue, "0")!=0) useExperimentalCode=TRUE;
+		if(envValue && g_strcmp0(envValue, "0")!=0) useExperimentalCode=TRUE;
 
 		firstTimeCalled=FALSE;
 	}

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


More information about the Xfce4-commits mailing list