mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-13 14:05:05 +01:00
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:
parent
73e6b900d4
commit
fe004445a4
@ -284,7 +284,7 @@ g_notification_server_new (void)
|
|||||||
void
|
void
|
||||||
g_notification_server_stop (GNotificationServer *server)
|
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)
|
if (server->name_owner_id)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user