mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix build
The g_return_val_if_fail() macro takes a return value.
This commit is contained in:
parent
b73e53f577
commit
87a542bc96
@ -485,7 +485,7 @@ g_simple_action_new (const gchar *name,
|
||||
{
|
||||
GSimpleAction *simple;
|
||||
|
||||
g_return_val_if_fail (name != NULL);
|
||||
g_return_val_if_fail (name != NULL, NULL);
|
||||
|
||||
simple = g_object_new (G_TYPE_SIMPLE_ACTION, NULL);
|
||||
simple->name = g_strdup (name);
|
||||
|
Loading…
Reference in New Issue
Block a user