button: Remove ICON_SIZE_BUTTON mention in docs
authorTimm Bäder <mail@baedert.org>
Wed, 20 Jun 2018 07:07:51 +0000 (09:07 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 20 Jun 2018 18:47:17 +0000 (20:47 +0200)
The icon will have the size given by css, not whatever
GTK_ICON_SIZE_BUTTON was.

gtk/gtkbutton.c

index 83894e2509227706826a6395bf61054152263872..4d87d210667c23d2714355529f03fb23999b79dc 100644 (file)
@@ -1046,9 +1046,9 @@ gtk_button_grab_notify (GtkWidget *widget,
  * @button: A #GtkButton
  * @icon_name: A icon name
  *
- * Adds a #GtkImage with the given icon name as a child. The icon will be
- * of size %GTK_ICON_SIZE_BUTTON. If @button already contains a child widget,
- * that child widget will be removed and replaced with the image.
+ * Adds a #GtkImage with the given icon name as a child. If @button already
+ * contains a child widget, that child widget will be removed and replaced
+ * with the image.
  */
 void
 gtk_button_set_icon_name (GtkButton  *button,