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-day-view-main-item.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'calendar/gui/ea-day-view-main-item.c') diff --git a/calendar/gui/ea-day-view-main-item.c b/calendar/gui/ea-day-view-main-item.c index 36abbc0954..1274cb7b72 100644 --- a/calendar/gui/ea-day-view-main-item.c +++ b/calendar/gui/ea-day-view-main-item.c @@ -36,9 +36,9 @@ static void ea_day_view_main_item_class_init (EaDayViewMainItemClass *klass); static void ea_day_view_main_item_finalize (GObject *object); -static G_CONST_RETURN gchar * +static const gchar * ea_day_view_main_item_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * +static const gchar * ea_day_view_main_item_get_description (AtkObject *accessible); @@ -102,10 +102,10 @@ static AtkObject* table_interface_get_column_header (AtkTable *table, gint in_col); static AtkObject* table_interface_get_caption (AtkTable *table); -static G_CONST_RETURN gchar * +static const gchar * table_interface_get_column_description (AtkTable *table, gint in_col); -static G_CONST_RETURN gchar * +static const gchar * table_interface_get_row_description (AtkTable *table, gint row); static AtkObject* table_interface_get_summary (AtkTable *table); @@ -293,7 +293,7 @@ ea_day_view_main_item_finalize (GObject *object) #endif } -static G_CONST_RETURN gchar * +static const gchar * ea_day_view_main_item_get_name (AtkObject *accessible) { AtkObject *parent; @@ -306,7 +306,7 @@ ea_day_view_main_item_get_name (AtkObject *accessible) return atk_object_get_name (parent); } -static G_CONST_RETURN gchar * +static const gchar * ea_day_view_main_item_get_description (AtkObject *accessible) { return _("a table to view and select the current time range"); @@ -1064,7 +1064,7 @@ table_interface_get_caption (AtkTable *table) return NULL; } -static G_CONST_RETURN gchar * +static const gchar * table_interface_get_column_description (AtkTable *table, gint in_col) { @@ -1100,7 +1100,7 @@ table_interface_get_column_description (AtkTable *table, return description; } -static G_CONST_RETURN gchar * +static const gchar * table_interface_get_row_description (AtkTable *table, gint row) { -- cgit