diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-10 03:00:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-06-10 03:00:03 +0800 |
commit | 89d7c38c8bd3aac0060e7e8e3913507444c00608 (patch) | |
tree | 4caae638b8c5f92797818dbdb34c18daac74cbc7 /addressbook/gui/widgets/ea-minicard.c | |
parent | cbbb6f2200af24a2e1d4f600b90127acb4ec5523 (diff) | |
download | gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.gz gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.bz2 gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.lz gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.xz gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.zst gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.zip |
Replace G_CONST_RETURN with 'const'.
GLib is finally dropping this hack.
Diffstat (limited to 'addressbook/gui/widgets/ea-minicard.c')
-rw-r--r-- | addressbook/gui/widgets/ea-minicard.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/addressbook/gui/widgets/ea-minicard.c b/addressbook/gui/widgets/ea-minicard.c index e218286411..2e8d4281ef 100644 --- a/addressbook/gui/widgets/ea-minicard.c +++ b/addressbook/gui/widgets/ea-minicard.c @@ -34,9 +34,9 @@ static const gchar * action_name[] = { N_("Open") }; -static G_CONST_RETURN gchar * +static const gchar * ea_minicard_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * +static const gchar * ea_minicard_get_description (AtkObject *accessible); static void ea_minicard_class_init (EaMinicardClass *klass); @@ -54,11 +54,11 @@ 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 * +static const gchar * atk_action_interface_get_description (AtkAction *iface, gint i); -static G_CONST_RETURN gchar * +static const gchar * atk_action_interface_get_name (AtkAction *iface, gint i); @@ -132,7 +132,7 @@ ea_minicard_class_init (EaMinicardClass *klass) * we access the main content of current minicard, including * header text, label(field, field name) */ -static G_CONST_RETURN gchar * +static const gchar * ea_minicard_get_name (AtkObject *accessible) { #define BUFFERSIZE 500 @@ -174,7 +174,7 @@ ea_minicard_get_name (AtkObject *accessible) return accessible->name; } -static G_CONST_RETURN gchar * +static const gchar * ea_minicard_get_description (AtkObject *accessible) { if (accessible->description) @@ -277,13 +277,13 @@ atk_action_interface_get_n_action (AtkAction *iface) return G_N_ELEMENTS (action_name); } -static G_CONST_RETURN gchar * +static const gchar * atk_action_interface_get_description (AtkAction *iface, gint i) { return atk_action_interface_get_name (iface, i); } -static G_CONST_RETURN gchar * +static const gchar * atk_action_interface_get_name (AtkAction *iface, gint i) { if ( i >= G_N_ELEMENTS (action_name) || i < 0) |