diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-08 01:36:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-08 02:26:37 +0800 |
commit | 49ef32b76c55cbefba53568f02028dddf23a9bc9 (patch) | |
tree | 682e825cab580d4c401f0a138ee29a8534336591 /addressbook/gui | |
parent | 2ef43b4cf40d21c61d39c5a938e428afa9074e2b (diff) | |
download | gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.gz gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.zst gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/widgets/ea-minicard.c | 48 |
1 files changed, 32 insertions, 16 deletions
diff --git a/addressbook/gui/widgets/ea-minicard.c b/addressbook/gui/widgets/ea-minicard.c index 7b68bb76cf..19ee25b9e5 100644 --- a/addressbook/gui/widgets/ea-minicard.c +++ b/addressbook/gui/widgets/ea-minicard.c @@ -31,21 +31,33 @@ static const gchar * action_name[] = { N_("Open") }; -static G_CONST_RETURN gchar * ea_minicard_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * ea_minicard_get_description (AtkObject *accessible); +static G_CONST_RETURN gchar * + ea_minicard_get_name (AtkObject *accessible); +static G_CONST_RETURN gchar * + ea_minicard_get_description (AtkObject *accessible); -static void ea_minicard_class_init (EaMinicardClass *klass); +static void ea_minicard_class_init (EaMinicardClass *klass); -static gint ea_minicard_get_n_children (AtkObject *obj); -static AtkObject* ea_minicard_ref_child(AtkObject *obj, gint i); +static gint ea_minicard_get_n_children (AtkObject *obj); +static AtkObject * + ea_minicard_ref_child (AtkObject *obj, + gint i); -static AtkStateSet *ea_minicard_ref_state_set (AtkObject *obj); +static AtkStateSet * + ea_minicard_ref_state_set (AtkObject *obj); -static void atk_action_interface_init (AtkActionIface *iface); -static gboolean atk_action_interface_do_action (AtkAction *iface, gint i); -static gint atk_action_interface_get_n_action (AtkAction *iface); -static G_CONST_RETURN gchar * atk_action_interface_get_description (AtkAction *iface, gint i); -static G_CONST_RETURN gchar * atk_action_interface_get_name (AtkAction *iface, gint i); +static void atk_action_interface_init (AtkActionIface *iface); +static gboolean atk_action_interface_do_action (AtkAction *iface, + gint i); +static gint atk_action_interface_get_n_action + (AtkAction *iface); +static G_CONST_RETURN gchar * + atk_action_interface_get_description + (AtkAction *iface, + gint i); +static G_CONST_RETURN gchar * + atk_action_interface_get_name (AtkAction *iface, + gint i); static gpointer parent_class = NULL; @@ -168,7 +180,7 @@ ea_minicard_get_description (AtkObject *accessible) return _("evolution minicard"); } -AtkObject* +AtkObject * ea_minicard_new (GObject *obj) { GObject *object; @@ -185,7 +197,8 @@ ea_minicard_new (GObject *obj) return accessible; } -static AtkStateSet *ea_minicard_ref_state_set (AtkObject *obj) +static AtkStateSet * +ea_minicard_ref_state_set (AtkObject *obj) { AtkStateSet *state_set = NULL; GObject *gobj = NULL; @@ -218,7 +231,8 @@ ea_minicard_ref_child (AtkObject *accessible, gint index) return NULL; } -static void atk_action_interface_init (AtkActionIface *iface) +static void +atk_action_interface_init (AtkActionIface *iface) { g_return_if_fail (iface != NULL); @@ -228,7 +242,8 @@ static void atk_action_interface_init (AtkActionIface *iface) iface->get_name = atk_action_interface_get_name; } -static gboolean atk_action_interface_do_action (AtkAction *iface, gint i) +static gboolean +atk_action_interface_do_action (AtkAction *iface, gint i) { EMinicard *minicard = NULL; @@ -253,7 +268,8 @@ static gboolean atk_action_interface_do_action (AtkAction *iface, gint i) return TRUE; } -static gint atk_action_interface_get_n_action (AtkAction *iface) +static gint +atk_action_interface_get_n_action (AtkAction *iface) { return G_N_ELEMENTS (action_name); } |