diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-10 03:00:03 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:26 +0800 |
commit | ce62390010057fad06b4aa7f1ee0ea08c90eb225 (patch) | |
tree | c19ff3974c73a9fda503deade9bebb34decd3a18 /addressbook/gui/widgets/ea-minicard.c | |
parent | 2229ecda966472146beb35cef60d3e374bd0b65a (diff) | |
download | gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.tar gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.tar.gz gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.tar.bz2 gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.tar.lz gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.tar.xz gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.tar.zst gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.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) |