From 89d7c38c8bd3aac0060e7e8e3913507444c00608 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 9 Jun 2011 15:00:03 -0400 Subject: Replace G_CONST_RETURN with 'const'. GLib is finally dropping this hack. --- calendar/gui/ea-week-view-cell.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/gui/ea-week-view-cell.c') diff --git a/calendar/gui/ea-week-view-cell.c b/calendar/gui/ea-week-view-cell.c index 299c730142..506a5f5724 100644 --- a/calendar/gui/ea-week-view-cell.c +++ b/calendar/gui/ea-week-view-cell.c @@ -93,8 +93,8 @@ e_week_view_cell_new (EWeekView *week_view, gint row, gint column) static void ea_week_view_cell_class_init (EaWeekViewCellClass *klass); -static G_CONST_RETURN gchar * ea_week_view_cell_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * ea_week_view_cell_get_description (AtkObject *accessible); +static const gchar * ea_week_view_cell_get_name (AtkObject *accessible); +static const gchar * ea_week_view_cell_get_description (AtkObject *accessible); static AtkStateSet* ea_week_view_cell_ref_state_set (AtkObject *obj); static AtkObject * ea_week_view_cell_get_parent (AtkObject *accessible); static gint ea_week_view_cell_get_index_in_parent (AtkObject *accessible); @@ -200,7 +200,7 @@ static void ea_week_view_cell_finalize (GObject *object) } #endif -static G_CONST_RETURN gchar * +static const gchar * ea_week_view_cell_get_name (AtkObject *accessible) { AtkGObjectAccessible *atk_gobj; @@ -246,7 +246,7 @@ ea_week_view_cell_get_name (AtkObject *accessible) return accessible->name; } -static G_CONST_RETURN gchar * +static const gchar * ea_week_view_cell_get_description (AtkObject *accessible) { return ea_week_view_cell_get_name (accessible); -- cgit v1.2.3