[Xfce4-commits] [apps/xfdashboard] 01/01: Fix return value in g_return_val_if_fail() at function _xfdashboard_quicklaunch_get_actor_for_appinfo()

noreply at xfce.org noreply at xfce.org
Tue Nov 3 22:48:52 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 aa3dc1bcb3fe6f9ff6b10c65a5b74e4198233515
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Nov 3 22:46:32 2015 +0100

    Fix return value in g_return_val_if_fail() at function _xfdashboard_quicklaunch_get_actor_for_appinfo()
    
    Thanks to DarkneSS of openSuSE
---
 xfdashboard/quicklaunch.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfdashboard/quicklaunch.c b/xfdashboard/quicklaunch.c
index c8c868c..3b30ef2 100644
--- a/xfdashboard/quicklaunch.c
+++ b/xfdashboard/quicklaunch.c
@@ -158,8 +158,8 @@ static ClutterActor* _xfdashboard_quicklaunch_get_actor_for_appinfo(XfdashboardQ
 	GAppInfo						*desktopAppInfo;
 	GFile							*desktopFile;
 
-	g_return_val_if_fail(XFDASHBOARD_IS_QUICKLAUNCH(self), TRUE);
-	g_return_val_if_fail(G_IS_APP_INFO(inAppInfo), TRUE);
+	g_return_val_if_fail(XFDASHBOARD_IS_QUICKLAUNCH(self), NULL);
+	g_return_val_if_fail(G_IS_APP_INFO(inAppInfo), NULL);
 
 	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