diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-10 03:00:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-06-10 03:00:03 +0800 |
commit | 89d7c38c8bd3aac0060e7e8e3913507444c00608 (patch) | |
tree | 4caae638b8c5f92797818dbdb34c18daac74cbc7 /addressbook/gui/widgets/ea-addressbook-view.c | |
parent | cbbb6f2200af24a2e1d4f600b90127acb4ec5523 (diff) | |
download | gsoc2013-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 'addressbook/gui/widgets/ea-addressbook-view.c')
-rw-r--r-- | addressbook/gui/widgets/ea-addressbook-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/ea-addressbook-view.c b/addressbook/gui/widgets/ea-addressbook-view.c index 46a54a4154..2d432b6a76 100644 --- a/addressbook/gui/widgets/ea-addressbook-view.c +++ b/addressbook/gui/widgets/ea-addressbook-view.c @@ -27,8 +27,8 @@ #include <glib/gi18n.h> #include "ea-addressbook-view.h" -static G_CONST_RETURN gchar * ea_ab_view_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * ea_ab_view_get_description (AtkObject *accessible); +static const gchar * ea_ab_view_get_name (AtkObject *accessible); +static const gchar * ea_ab_view_get_description (AtkObject *accessible); static void ea_ab_view_class_init (EAddressbookViewClass *class); @@ -87,7 +87,7 @@ ea_ab_view_class_init (EAddressbookViewClass *class) atk_object_class->get_description = ea_ab_view_get_description; } -static G_CONST_RETURN gchar * +static const gchar * ea_ab_view_get_name (AtkObject *accessible) { g_return_val_if_fail (EA_IS_AB_VIEW (accessible), NULL); @@ -97,7 +97,7 @@ ea_ab_view_get_name (AtkObject *accessible) return _("evolution address book"); } -static G_CONST_RETURN gchar * +static const gchar * ea_ab_view_get_description (AtkObject *accessible) { if (accessible->description) |