[glib] GSimpleAction: fix some whitespace fail
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GSimpleAction: fix some whitespace fail
- Date: Wed, 21 Dec 2011 00:13:18 +0000 (UTC)
commit ab0da3c2821b6e9ed89a3a2a708bbae1db2ed45f
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Dec 20 19:12:56 2011 -0500
GSimpleAction: fix some whitespace fail
gio/gsimpleaction.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gio/gsimpleaction.c b/gio/gsimpleaction.c
index 9ac051b..64dacfd 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]