aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-10 03:00:03 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-06-10 03:00:03 +0800
commit89d7c38c8bd3aac0060e7e8e3913507444c00608 (patch)
tree4caae638b8c5f92797818dbdb34c18daac74cbc7 /widgets/table
parentcbbb6f2200af24a2e1d4f600b90127acb4ec5523 (diff)
downloadgsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar
gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.gz
gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.bz2
gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.lz
gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.xz
gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.zst
gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.zip
Replace G_CONST_RETURN with 'const'.
GLib is finally dropping this hack.
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/gal-a11y-e-cell.c8
-rw-r--r--widgets/table/gal-a11y-e-table-click-to-add.c6
-rw-r--r--widgets/table/gal-a11y-e-table-column-header.c4
-rw-r--r--widgets/table/gal-a11y-e-table-item.c4
4 files changed, 11 insertions, 11 deletions
diff --git a/widgets/table/gal-a11y-e-cell.c b/widgets/table/gal-a11y-e-cell.c
index d5853270a4..e48977f026 100644
--- a/widgets/table/gal-a11y-e-cell.c
+++ b/widgets/table/gal-a11y-e-cell.c
@@ -103,7 +103,7 @@ gal_a11y_e_cell_dispose (GObject *object)
}
/* Static functions */
-static G_CONST_RETURN gchar *
+static const gchar *
gal_a11y_e_cell_get_name (AtkObject * a11y)
{
GalA11yECell *cell = GAL_A11Y_E_CELL (a11y);
@@ -375,7 +375,7 @@ gal_a11y_e_cell_action_get_n_actions (AtkAction *action)
return 0;
}
-static G_CONST_RETURN gchar *
+static const gchar *
gal_a11y_e_cell_action_get_name (AtkAction *action,
gint index)
{
@@ -387,7 +387,7 @@ gal_a11y_e_cell_action_get_name (AtkAction *action,
return info->name;
}
-static G_CONST_RETURN gchar *
+static const gchar *
gal_a11y_e_cell_action_get_description (AtkAction *action,
gint index)
{
@@ -414,7 +414,7 @@ gal_a11y_e_cell_action_set_description (AtkAction *action,
return TRUE;
}
-static G_CONST_RETURN gchar *
+static const gchar *
gal_a11y_e_cell_action_get_keybinding (AtkAction *action,
gint index)
{
diff --git a/widgets/table/gal-a11y-e-table-click-to-add.c b/widgets/table/gal-a11y-e-table-click-to-add.c
index 263af62e9a..a947415c15 100644
--- a/widgets/table/gal-a11y-e-table-click-to-add.c
+++ b/widgets/table/gal-a11y-e-table-click-to-add.c
@@ -54,7 +54,7 @@ etcta_get_n_actions (AtkAction *action)
return 1;
}
-static G_CONST_RETURN gchar *
+static const gchar *
etcta_get_description (AtkAction *action,
gint i)
{
@@ -64,7 +64,7 @@ etcta_get_description (AtkAction *action,
return NULL;
}
-static G_CONST_RETURN gchar *
+static const gchar *
etcta_action_get_name (AtkAction *action, gint i)
{
if (i == 0)
@@ -125,7 +125,7 @@ atk_action_interface_init (AtkActionIface *iface)
iface->get_name = etcta_action_get_name;
}
-static G_CONST_RETURN gchar *
+static const gchar *
etcta_get_name (AtkObject *obj)
{
ETableClickToAdd * etcta;
diff --git a/widgets/table/gal-a11y-e-table-column-header.c b/widgets/table/gal-a11y-e-table-column-header.c
index a7503352a3..ccbfffadc9 100644
--- a/widgets/table/gal-a11y-e-table-column-header.c
+++ b/widgets/table/gal-a11y-e-table-column-header.c
@@ -146,11 +146,11 @@ gal_a11y_e_table_column_header_get_n_actions (AtkAction *action)
return 1;
}
-static G_CONST_RETURN gchar *
+static const gchar *
gal_a11y_e_table_column_header_action_get_name (AtkAction *action,
gint i)
{
- G_CONST_RETURN gchar *return_value;
+ const gchar *return_value;
switch (i) {
case 0:
diff --git a/widgets/table/gal-a11y-e-table-item.c b/widgets/table/gal-a11y-e-table-item.c
index 560ea3f54a..e296882e65 100644
--- a/widgets/table/gal-a11y-e-table-item.c
+++ b/widgets/table/gal-a11y-e-table-item.c
@@ -511,7 +511,7 @@ eti_get_caption (AtkTable *table)
return NULL;
}
-static G_CONST_RETURN gchar *
+static const gchar *
eti_get_column_description (AtkTable *table,
gint column)
{
@@ -546,7 +546,7 @@ eti_get_column_header (AtkTable *table, gint column)
return atk_obj;
}
-static G_CONST_RETURN gchar *
+static const gchar *
eti_get_row_description (AtkTable *table,
gint row)
{