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
This commit is contained in:
Philip Withnall 2013-11-26 11:18:01 +00:00
parent 73e6b900d4
commit fe004445a4

View File

@ -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)
{