+2005-01-01 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
+ custom image by passing NULL.
+ (gtk_button_init): Initialize image_is_stock to TRUE, fixing
+ a problem with changing stock labels. (#162273, Marcin
+ Krzyzanowski)
+
2005-01-01 Tor Lillqvist <tml@iki.fi>
* gtk/gtkmodules.c (get_module_path)
+2005-01-01 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
+ custom image by passing NULL.
+ (gtk_button_init): Initialize image_is_stock to TRUE, fixing
+ a problem with changing stock labels. (#162273, Marcin
+ Krzyzanowski)
+
2005-01-01 Tor Lillqvist <tml@iki.fi>
* gtk/gtkmodules.c (get_module_path)
+2005-01-01 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
+ custom image by passing NULL.
+ (gtk_button_init): Initialize image_is_stock to TRUE, fixing
+ a problem with changing stock labels. (#162273, Marcin
+ Krzyzanowski)
+
2005-01-01 Tor Lillqvist <tml@iki.fi>
* gtk/gtkmodules.c (get_module_path)
+2005-01-01 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
+ custom image by passing NULL.
+ (gtk_button_init): Initialize image_is_stock to TRUE, fixing
+ a problem with changing stock labels. (#162273, Marcin
+ Krzyzanowski)
+
2005-01-01 Tor Lillqvist <tml@iki.fi>
* gtk/gtkmodules.c (get_module_path)
priv->xalign = 0.5;
priv->yalign = 0.5;
priv->align_set = 0;
+ priv->image_is_stock = TRUE;
}
static void
GtkButtonPrivate *priv = GTK_BUTTON_GET_PRIVATE (button);
priv->image = image;
- priv->image_is_stock = FALSE;
+ priv->image_is_stock = (image == NULL);
gtk_button_construct_child (button);