aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/ea-cal-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-10 03:00:03 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:26 +0800
commitce62390010057fad06b4aa7f1ee0ea08c90eb225 (patch)
treec19ff3974c73a9fda503deade9bebb34decd3a18 /calendar/gui/ea-cal-view.c
parent2229ecda966472146beb35cef60d3e374bd0b65a (diff)
downloadgsoc2013-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 'calendar/gui/ea-cal-view.c')
-rw-r--r--calendar/gui/ea-cal-view.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/ea-cal-view.c b/calendar/gui/ea-cal-view.c
index 7e50284226..5b93469450 100644
--- a/calendar/gui/ea-cal-view.c
+++ b/calendar/gui/ea-cal-view.c
@@ -49,11 +49,11 @@ static void ea_cal_view_dates_change_cb (GnomeCalendar *gcal, gpointer data);
static void atk_action_interface_init (AtkActionIface *iface);
static gboolean action_interface_do_action (AtkAction *action, gint i);
static gint action_interface_get_n_actions (AtkAction *action);
-static G_CONST_RETURN gchar *
+static const gchar *
action_interface_get_description (AtkAction *action, gint i);
-static G_CONST_RETURN gchar *
+static const gchar *
action_interface_get_keybinding (AtkAction *action, gint i);
-static G_CONST_RETURN gchar *
+static const gchar *
action_interface_action_get_name (AtkAction *action, gint i);
static gpointer parent_class = NULL;
@@ -380,13 +380,13 @@ action_interface_get_n_actions (AtkAction *action)
return CAL_VIEW_ACTION_NUM;
}
-static G_CONST_RETURN gchar *
+static const gchar *
action_interface_get_description (AtkAction *action, gint index)
{
return action_interface_action_get_name (action, index);
}
-static G_CONST_RETURN gchar *
+static const gchar *
action_interface_get_keybinding (AtkAction *action, gint index)
{
GtkWidget *widget;
@@ -423,7 +423,7 @@ action_interface_get_keybinding (AtkAction *action, gint index)
return NULL;
}
-static G_CONST_RETURN gchar *
+static const gchar *
action_interface_action_get_name (AtkAction *action, gint i)
{
if (i >= 0 && i < CAL_VIEW_ACTION_NUM)