mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Fix build
The g_return_val_if_fail() macro takes a return value.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user