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.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/gui/ea-day-view.c') diff --git a/calendar/gui/ea-day-view.c b/calendar/gui/ea-day-view.c index 8a2c4b5031..72f3e5ba61 100644 --- a/calendar/gui/ea-day-view.c +++ b/calendar/gui/ea-day-view.c @@ -33,8 +33,8 @@ static void ea_day_view_class_init (EaDayViewClass *klass); -static G_CONST_RETURN gchar * ea_day_view_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * ea_day_view_get_description (AtkObject *accessible); +static const gchar * ea_day_view_get_name (AtkObject *accessible); +static const gchar * ea_day_view_get_description (AtkObject *accessible); static gint ea_day_view_get_n_children (AtkObject *obj); static AtkObject* ea_day_view_ref_child (AtkObject *obj, gint i); @@ -119,7 +119,7 @@ ea_day_view_new (GtkWidget *widget) return accessible; } -static G_CONST_RETURN gchar * +static const gchar * ea_day_view_get_name (AtkObject *accessible) { EDayView *day_view; @@ -176,7 +176,7 @@ ea_day_view_get_name (AtkObject *accessible) return accessible->name; } -static G_CONST_RETURN gchar * +static const gchar * ea_day_view_get_description (AtkObject *accessible) { EDayView *day_view; -- cgit v1.2.3