[Xfce4-commits] [apps/xfdashboard] 01/01: Fix return value in g_return_val_if_fail() at function _xfdashboard_clock_view_on_timeout() at clock-view plugin

noreply at xfce.org noreply at xfce.org
Mon Nov 16 09:35:01 CET 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 5aa475317aca2387cb6dcd15f3ab7fee1204a734
Author: Stephan Haller <nomad at froevel.de>
Date:   Mon Nov 16 09:32:08 2015 +0100

    Fix return value in g_return_val_if_fail() at function _xfdashboard_clock_view_on_timeout() at clock-view plugin
    
    Thanks to Lev for reporting
---
 plugins/clock-view/clock-view.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/clock-view/clock-view.c b/plugins/clock-view/clock-view.c
index db09cf4..fd7a3d9 100644
--- a/plugins/clock-view/clock-view.c
+++ b/plugins/clock-view/clock-view.c
@@ -154,7 +154,7 @@ static gboolean _xfdashboard_clock_view_on_timeout(gpointer inUserData)
 	XfdashboardClockView			*self;
 	XfdashboardClockViewPrivate		*priv;
 
-	g_return_if_fail(XFDASHBOARD_IS_CLOCK_VIEW(inUserData));
+	g_return_val_if_fail(XFDASHBOARD_IS_CLOCK_VIEW(inUserData), FALSE);
 
 	self=XFDASHBOARD_CLOCK_VIEW(inUserData);
 	priv=self->priv;

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


More information about the Xfce4-commits mailing list