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 /calendar/gui/ea-jump-button.c | |
parent | cbbb6f2200af24a2e1d4f600b90127acb4ec5523 (diff) | |
download | gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.gz gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.tar.zst gsoc2013-evolution-89d7c38c8bd3aac0060e7e8e3913507444c00608.zip |
Replace G_CONST_RETURN with 'const'.
GLib is finally dropping this hack.
Diffstat (limited to 'calendar/gui/ea-jump-button.c')
-rw-r--r-- | calendar/gui/ea-jump-button.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/ea-jump-button.c b/calendar/gui/ea-jump-button.c index 7a31c09535..e19b1037a0 100644 --- a/calendar/gui/ea-jump-button.c +++ b/calendar/gui/ea-jump-button.c @@ -34,15 +34,15 @@ static void ea_jump_button_class_init (EaJumpButtonClass *klass); -static G_CONST_RETURN gchar * ea_jump_button_get_name (AtkObject *accessible); -static G_CONST_RETURN gchar * ea_jump_button_get_description (AtkObject *accessible); +static const gchar * ea_jump_button_get_name (AtkObject *accessible); +static const gchar * ea_jump_button_get_description (AtkObject *accessible); /* action interface */ static void atk_action_interface_init (AtkActionIface *iface); static gboolean jump_button_do_action (AtkAction *action, gint i); static gint jump_button_get_n_actions (AtkAction *action); -static G_CONST_RETURN gchar * jump_button_get_keybinding (AtkAction *action, +static const gchar * jump_button_get_keybinding (AtkAction *action, gint i); static gpointer parent_class = NULL; @@ -140,7 +140,7 @@ ea_jump_button_new (GObject *obj) return atk_obj; } -static G_CONST_RETURN gchar * +static const gchar * ea_jump_button_get_name (AtkObject *accessible) { g_return_val_if_fail (EA_IS_JUMP_BUTTON (accessible), NULL); @@ -150,7 +150,7 @@ ea_jump_button_get_name (AtkObject *accessible) return _("Jump button"); } -static G_CONST_RETURN gchar * +static const gchar * ea_jump_button_get_description (AtkObject *accessible) { if (accessible->description) @@ -207,7 +207,7 @@ jump_button_get_n_actions (AtkAction *action) return 1; } -static G_CONST_RETURN gchar * +static const gchar * jump_button_get_keybinding (AtkAction *action, gint i) { |