Fix build

The g_return_val_if_fail() macro takes a return value.
This commit is contained in:
Emmanuele Bassi 2011-06-29 18:00:53 +01:00
parent b73e53f577
commit 87a542bc96

View File

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