From fe004445a41d69075fcb542219026d4b8fc343a9 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 26 Nov 2013 11:18:01 +0000 Subject: [PATCH] gio/tests: Fix a g_return_val_if_fail() in a void function Should be g_return_if_fail() instead. https://bugzilla.gnome.org/show_bug.cgi?id=113075 --- gio/tests/gnotification-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/gnotification-server.c b/gio/tests/gnotification-server.c index a028e03..0df2d9f 100644 --- a/gio/tests/gnotification-server.c +++ b/gio/tests/gnotification-server.c @@ -284,7 +284,7 @@ g_notification_server_new (void) void g_notification_server_stop (GNotificationServer *server) { - g_return_val_if_fail (G_IS_NOTIFICATION_SERVER (server), FALSE); + g_return_if_fail (G_IS_NOTIFICATION_SERVER (server)); if (server->name_owner_id) { -- 2.7.4