diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-06-06 19:13:44 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-06-10 13:07:54 +0100 |
commit | bf0d8402f5382fadd32a9748d00a4bcd715ea07a (patch) | |
tree | fb60ab4c6589c0dac140fe16b63fced2d7bbf070 /gtk/gtkaction.c | |
parent | a8f5a8b9190d4c72f46a38579f23f2f2acfb174a (diff) | |
download | gtk+-bf0d8402f5382fadd32a9748d00a4bcd715ea07a.tar.gz |
gtk: Use const instead G_CONST_RETURN
Diffstat (limited to 'gtk/gtkaction.c')
-rw-r--r-- | gtk/gtkaction.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c index 45a93a0ccf..b1e4957609 100644 --- a/gtk/gtkaction.c +++ b/gtk/gtkaction.c @@ -995,7 +995,7 @@ gtk_action_get_proxies (GtkAction *action) * * Since: 2.4 **/ -G_CONST_RETURN gchar * +const gchar * gtk_action_get_name (GtkAction *action) { g_return_val_if_fail (GTK_IS_ACTION (action), NULL); @@ -1292,7 +1292,7 @@ gtk_action_set_label (GtkAction *action, * * Since: 2.16 */ -G_CONST_RETURN gchar * +const gchar * gtk_action_get_label (GtkAction *action) { g_return_val_if_fail (GTK_IS_ACTION (action), NULL); @@ -1338,7 +1338,7 @@ gtk_action_set_short_label (GtkAction *action, * * Since: 2.16 */ -G_CONST_RETURN gchar * +const gchar * gtk_action_get_short_label (GtkAction *action) { g_return_val_if_fail (GTK_IS_ACTION (action), NULL); @@ -1470,7 +1470,7 @@ gtk_action_set_tooltip (GtkAction *action, * * Since: 2.16 */ -G_CONST_RETURN gchar * +const gchar * gtk_action_get_tooltip (GtkAction *action) { g_return_val_if_fail (GTK_IS_ACTION (action), NULL); @@ -1528,7 +1528,7 @@ gtk_action_set_stock_id (GtkAction *action, * * Since: 2.16 */ -G_CONST_RETURN gchar * +const gchar * gtk_action_get_stock_id (GtkAction *action) { g_return_val_if_fail (GTK_IS_ACTION (action), NULL); @@ -1570,7 +1570,7 @@ gtk_action_set_icon_name (GtkAction *action, * * Since: 2.16 */ -G_CONST_RETURN gchar * +const gchar * gtk_action_get_icon_name (GtkAction *action) { g_return_val_if_fail (GTK_IS_ACTION (action), NULL); @@ -1687,7 +1687,7 @@ gtk_action_set_accel_path (GtkAction *action, * if none is set. The returned string is owned by GTK+ * and must not be freed or modified. */ -G_CONST_RETURN gchar * +const gchar * gtk_action_get_accel_path (GtkAction *action) { g_return_val_if_fail (GTK_IS_ACTION (action), NULL); |