From ab0da3c2821b6e9ed89a3a2a708bbae1db2ed45f Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Tue, 20 Dec 2011 19:12:56 -0500 Subject: [PATCH] GSimpleAction: fix some whitespace fail --- gio/gsimpleaction.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gio/gsimpleaction.c b/gio/gsimpleaction.c index 9ac051bd8..64dacfd99 100644 --- a/gio/gsimpleaction.c +++ b/gio/gsimpleaction.c @@ -220,7 +220,7 @@ g_simple_action_set_property (GObject *object, case PROP_NAME: action->name = g_strdup (g_value_get_string (value)); break; - + case PROP_PARAMETER_TYPE: action->parameter_type = g_value_dup_boxed (value); break; @@ -518,10 +518,10 @@ GSimpleAction * g_simple_action_new (const gchar *name, const GVariantType *parameter_type) { - return (GSimpleAction*) g_object_new (G_TYPE_SIMPLE_ACTION, - "name", name, - "parameter-type", parameter_type, - NULL); + return g_object_new (G_TYPE_SIMPLE_ACTION, + "name", name, + "parameter-type", parameter_type, + NULL); } /** @@ -546,9 +546,9 @@ g_simple_action_new_stateful (const gchar *name, const GVariantType *parameter_type, GVariant *state) { - return (GSimpleAction*) g_object_new (G_TYPE_SIMPLE_ACTION, - "name", name, - "parameter-type", parameter_type, - "state", state, - NULL); + return g_object_new (G_TYPE_SIMPLE_ACTION, + "name", name, + "parameter-type", parameter_type, + "state", state, + NULL); }