summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbutton.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-06-06 19:13:44 +0100
committerJavier Jardón <jjardon@gnome.org>2011-06-10 13:07:54 +0100
commitbf0d8402f5382fadd32a9748d00a4bcd715ea07a (patch)
treefb60ab4c6589c0dac140fe16b63fced2d7bbf070 /gtk/gtktoolbutton.c
parenta8f5a8b9190d4c72f46a38579f23f2f2acfb174a (diff)
downloadgtk+-bf0d8402f5382fadd32a9748d00a4bcd715ea07a.tar.gz
gtk: Use const instead G_CONST_RETURN
Diffstat (limited to 'gtk/gtktoolbutton.c')
-rw-r--r--gtk/gtktoolbutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index ddf321b09b..f78572985a 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -1051,7 +1051,7 @@ gtk_tool_button_set_label (GtkToolButton *button,
*
* Since: 2.4
**/
-G_CONST_RETURN gchar *
+const gchar *
gtk_tool_button_get_label (GtkToolButton *button)
{
g_return_val_if_fail (GTK_IS_TOOL_BUTTON (button), NULL);
@@ -1152,7 +1152,7 @@ gtk_tool_button_set_stock_id (GtkToolButton *button,
*
* Since: 2.4
**/
-G_CONST_RETURN gchar *
+const gchar *
gtk_tool_button_get_stock_id (GtkToolButton *button)
{
g_return_val_if_fail (GTK_IS_TOOL_BUTTON (button), NULL);
@@ -1203,7 +1203,7 @@ gtk_tool_button_set_icon_name (GtkToolButton *button,
*
* Since: 2.8
**/
-G_CONST_RETURN gchar*
+const gchar*
gtk_tool_button_get_icon_name (GtkToolButton *button)
{
g_return_val_if_fail (GTK_IS_TOOL_BUTTON (button), NULL);