diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-10 03:00:03 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:26 +0800 |
commit | ce62390010057fad06b4aa7f1ee0ea08c90eb225 (patch) | |
tree | c19ff3974c73a9fda503deade9bebb34decd3a18 /calendar/gui/ea-day-view-main-item.c | |
parent | 2229ecda966472146beb35cef60d3e374bd0b65a (diff) | |
download | gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.tar.gz gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.tar.zst gsoc2013-evolution-ce62390010057fad06b4aa7f1ee0ea08c90eb225.zip |
Replace G_CONST_RETURN with 'const'.
GLib is finally dropping this hack.
Diffstat (limited to 'calendar/gui/ea-day-view-main-item.c')
-rw-r--r-- | calendar/gui/ea-day-view-main-item.c | 16 |
1 files changed, 8 insertions, 8 deletions
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) { |