summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-01-20 08:02:48 +0100
committerMatthias Clasen <mclasen@redhat.com>2017-11-15 14:22:16 -0500
commitf53b72e5ffc034f003801b9d4ee64328180bc297 (patch)
treec358e13d2d02ecbe63ca7a90e1359c7be3895e53 /gtk/gtkbutton.h
parent3da65ff2337ef24cdf20fbd161722ff37d2d3f9a (diff)
downloadgtk+-f53b72e5ffc034f003801b9d4ee64328180bc297.tar.gz
button: Get rid of icon size
In fact, make gtk_button_new_from_icon_name() just set the icon-name property instead of creating a GtkImage.
Diffstat (limited to 'gtk/gtkbutton.h')
-rw-r--r--gtk/gtkbutton.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h
index d62c49c380..2bd236c417 100644
--- a/gtk/gtkbutton.h
+++ b/gtk/gtkbutton.h
@@ -89,8 +89,7 @@ GtkWidget* gtk_button_new (void);
GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_button_new_with_label (const gchar *label);
GDK_AVAILABLE_IN_3_10
-GtkWidget* gtk_button_new_from_icon_name (const gchar *icon_name,
- GtkIconSize size);
+GtkWidget* gtk_button_new_from_icon_name (const gchar *icon_name);
GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_button_new_with_mnemonic (const gchar *label);
GDK_AVAILABLE_IN_ALL