GSimpleAction: fix some whitespace fail

This commit is contained in:
Ryan Lortie 2011-12-20 19:12:56 -05:00
parent 342e2faa29
commit ab0da3c282

View File

@ -220,7 +220,7 @@ g_simple_action_set_property (GObject *object,
case PROP_NAME: case PROP_NAME:
action->name = g_strdup (g_value_get_string (value)); action->name = g_strdup (g_value_get_string (value));
break; break;
case PROP_PARAMETER_TYPE: case PROP_PARAMETER_TYPE:
action->parameter_type = g_value_dup_boxed (value); action->parameter_type = g_value_dup_boxed (value);
break; break;
@ -518,10 +518,10 @@ GSimpleAction *
g_simple_action_new (const gchar *name, g_simple_action_new (const gchar *name,
const GVariantType *parameter_type) const GVariantType *parameter_type)
{ {
return (GSimpleAction*) g_object_new (G_TYPE_SIMPLE_ACTION, return g_object_new (G_TYPE_SIMPLE_ACTION,
"name", name, "name", name,
"parameter-type", parameter_type, "parameter-type", parameter_type,
NULL); NULL);
} }
/** /**
@ -546,9 +546,9 @@ g_simple_action_new_stateful (const gchar *name,
const GVariantType *parameter_type, const GVariantType *parameter_type,
GVariant *state) GVariant *state)
{ {
return (GSimpleAction*) g_object_new (G_TYPE_SIMPLE_ACTION, return g_object_new (G_TYPE_SIMPLE_ACTION,
"name", name, "name", name,
"parameter-type", parameter_type, "parameter-type", parameter_type,
"state", state, "state", state,
NULL); NULL);
} }