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 /calendar/gui/ea-cal-view-event.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 'calendar/gui/ea-cal-view-event.c')
-rw-r--r-- | calendar/gui/ea-cal-view-event.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/ea-cal-view-event.c b/calendar/gui/ea-cal-view-event.c index 6682681483..55457bf4dc 100644 --- a/calendar/gui/ea-cal-view-event.c +++ b/calendar/gui/ea-cal-view-event.c @@ -34,9 +34,9 @@ static void ea_cal_view_event_class_init (EaCalViewEventClass *klass); static void ea_cal_view_event_init (EaCalViewEvent *a11y); static void ea_cal_view_event_dispose (GObject *object); -static G_CONST_RETURN gchar * +static const gchar * ea_cal_view_event_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * +static const gchar * ea_cal_view_event_get_description (AtkObject *accessible); static AtkObject * @@ -59,7 +59,7 @@ static void atk_action_interface_init (AtkActionIface *iface); static gboolean ea_cal_view_event_do_action (AtkAction *action, gint i); static gint ea_cal_view_event_get_n_actions (AtkAction *action); -static G_CONST_RETURN gchar * +static const gchar * ea_cal_view_event_action_get_name (AtkAction *action, gint i); @@ -261,7 +261,7 @@ ea_cal_view_event_dispose (GObject *object) G_OBJECT_CLASS (parent_class)->dispose (object); } -static G_CONST_RETURN gchar * +static const gchar * ea_cal_view_event_get_name (AtkObject *accessible) { AtkGObjectAccessible *atk_gobj; @@ -319,7 +319,7 @@ ea_cal_view_event_get_name (AtkObject *accessible) return accessible->name; } -static G_CONST_RETURN gchar * +static const gchar * ea_cal_view_event_get_description (AtkObject *accessible) { if (accessible->description) @@ -590,7 +590,7 @@ ea_cal_view_event_get_n_actions (AtkAction *action) return CAL_VIEW_EVENT_ACTION_NUM; } -static G_CONST_RETURN gchar * +static const gchar * ea_cal_view_event_action_get_name (AtkAction *action, gint i) { if (i >= 0 && i < CAL_VIEW_EVENT_ACTION_NUM) |