aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/ea-minicard.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/ea-minicard.c')
-rw-r--r--addressbook/gui/widgets/ea-minicard.c16
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)