[Xfce4-commits] [apps/xfdashboard] 01/02: Fix returning void for function expecting a pointer

noreply at xfce.org noreply at xfce.org
Fri Jan 15 23:31:49 CET 2016


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

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

commit bde79247310026dd1672e686d962cef83bf97025
Author: Stephan Haller <nomad at froevel.de>
Date:   Fri Jan 15 22:59:36 2016 +0100

    Fix returning void for function expecting a pointer
---
 xfdashboard/viewpad.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xfdashboard/viewpad.c b/xfdashboard/viewpad.c
index 526c117..4efc5a0 100644
--- a/xfdashboard/viewpad.c
+++ b/xfdashboard/viewpad.c
@@ -512,9 +512,9 @@ static gboolean _xfdashboard_viewpad_view_needs_scrolling_for_child(XfdashboardV
 	gboolean					needScrolling;
 	gfloat						scrollX, scrollY;
 
-	g_return_if_fail(XFDASHBOARD_IS_VIEWPAD(self));
-	g_return_if_fail(XFDASHBOARD_IS_VIEW(inView));
-	g_return_if_fail(CLUTTER_IS_ACTOR(inViewChild));
+	g_return_val_if_fail(XFDASHBOARD_IS_VIEWPAD(self), FALSE);
+	g_return_val_if_fail(XFDASHBOARD_IS_VIEW(inView), FALSE);
+	g_return_val_if_fail(CLUTTER_IS_ACTOR(inViewChild), FALSE);
 
 	priv=self->priv;
 	needScrolling=FALSE;

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


More information about the Xfce4-commits mailing list