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-gnome-calendar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/ea-gnome-calendar.c') diff --git a/calendar/gui/ea-gnome-calendar.c b/calendar/gui/ea-gnome-calendar.c index 76a5a007e7..0983de84b9 100644 --- a/calendar/gui/ea-gnome-calendar.c +++ b/calendar/gui/ea-gnome-calendar.c @@ -42,7 +42,7 @@ static void ea_gcal_dates_change_cb (GnomeCalendar *gcal, gpointer data); static gpointer parent_class = NULL; -static G_CONST_RETURN gchar * +static const gchar * ea_gnome_calendar_get_name (AtkObject *accessible) { if (accessible->name) @@ -50,7 +50,7 @@ ea_gnome_calendar_get_name (AtkObject *accessible) return _("Gnome Calendar"); } -static G_CONST_RETURN gchar * +static const gchar * ea_gnome_calendar_get_description (AtkObject *accessible) { if (accessible->description) -- cgit v1.2.3