From ce62390010057fad06b4aa7f1ee0ea08c90eb225 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-day-view-cell.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/gui/ea-day-view-cell.c') diff --git a/calendar/gui/ea-day-view-cell.c b/calendar/gui/ea-day-view-cell.c index bb2c32d982..a94a9d193f 100644 --- a/calendar/gui/ea-day-view-cell.c +++ b/calendar/gui/ea-day-view-cell.c @@ -93,8 +93,8 @@ e_day_view_cell_new (EDayView *day_view, gint row, gint column) static void ea_day_view_cell_class_init (EaDayViewCellClass *klass); -static G_CONST_RETURN gchar * ea_day_view_cell_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * ea_day_view_cell_get_description (AtkObject *accessible); +static const gchar * ea_day_view_cell_get_name (AtkObject *accessible); +static const gchar * ea_day_view_cell_get_description (AtkObject *accessible); static AtkStateSet* ea_day_view_cell_ref_state_set (AtkObject *obj); static AtkObject * ea_day_view_cell_get_parent (AtkObject *accessible); static gint ea_day_view_cell_get_index_in_parent (AtkObject *accessible); @@ -200,7 +200,7 @@ static void ea_day_view_cell_finalize (GObject *object) } #endif -static G_CONST_RETURN gchar * +static const gchar * ea_day_view_cell_get_name (AtkObject *accessible) { AtkGObjectAccessible *atk_gobj; @@ -234,7 +234,7 @@ ea_day_view_cell_get_name (AtkObject *accessible) return accessible->name; } -static G_CONST_RETURN gchar * +static const gchar * ea_day_view_cell_get_description (AtkObject *accessible) { return ea_day_view_cell_get_name (accessible); -- cgit v1.2.3