Commit 20cafaee authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Don't let the priv->image pointer dangle. (#136259, Padraig O'Briain)

Fri Mar  5 22:37:15 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkbutton.c (gtk_button_construct_child): Don't let
	the priv->image pointer dangle.  (#136259, Padraig O'Briain)
parent 9958ce70
Fri Mar 5 22:37:15 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (gtk_button_construct_child): Don't let
the priv->image pointer dangle. (#136259, Padraig O'Briain)
2004-03-05 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
......
Fri Mar 5 22:37:15 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (gtk_button_construct_child): Don't let
the priv->image pointer dangle. (#136259, Padraig O'Briain)
2004-03-05 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
......
Fri Mar 5 22:37:15 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (gtk_button_construct_child): Don't let
the priv->image pointer dangle. (#136259, Padraig O'Briain)
2004-03-05 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
......
Fri Mar 5 22:37:15 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (gtk_button_construct_child): Don't let
the priv->image pointer dangle. (#136259, Padraig O'Briain)
2004-03-05 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
......
Fri Mar 5 22:37:15 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkbutton.c (gtk_button_construct_child): Don't let
the priv->image pointer dangle. (#136259, Padraig O'Briain)
2004-03-05 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
......
......@@ -586,8 +586,11 @@ gtk_button_construct_child (GtkButton *button)
return;
if (GTK_BIN (button)->child)
{
gtk_container_remove (GTK_CONTAINER (button),
GTK_BIN (button)->child);
priv->image = NULL;
}
if (button->use_stock &&
gtk_stock_lookup (button->label_text, &item))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment