Commit 89b87726 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Miguel de Icaza
Browse files

Replace ::finalize with ::destroy.

2000-04-07  Miguel de Icaza  <miguel@gnu.org>

	* widget-pixmap-combo.c (pixmap_combo_class_init): Replace
	::finalize with ::destroy.
parent 7760802e
......@@ -23,20 +23,20 @@ static GtkObjectClass *pixmap_combo_parent_class;
/***************************************************************************/
static void
pixmap_combo_finalize (GtkObject *object)
pixmap_combo_destroy (GtkObject *object)
{
PixmapCombo *pc = PIXMAP_COMBO (object);
gtk_object_destroy (GTK_OBJECT (pc->tool_tip));
g_free (pc->pixmaps);
(*pixmap_combo_parent_class->finalize) (object);
(*pixmap_combo_parent_class->destroy) (object);
}
static void
pixmap_combo_class_init (GtkObjectClass *object_class)
{
object_class->finalize = pixmap_combo_finalize;
object_class->destroy = pixmap_combo_destroy;
pixmap_combo_parent_class = gtk_type_class (gtk_combo_box_get_type ());
......
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* widget-pixmap-combo.c (pixmap_combo_finalize): Fix leak.
* widget-pixmap-combo.c (pixmap_combo_class_init): Replace
::finalize with ::destroy.
(pixmap_combo_finalize): Fix leak.
2000-04-06 Jody Goldberg <jgoldberg@home.com>
* gtk-combo-text.c (cb_enter) : Only change the state if the element
......
......@@ -23,20 +23,20 @@ static GtkObjectClass *pixmap_combo_parent_class;
/***************************************************************************/
static void
pixmap_combo_finalize (GtkObject *object)
pixmap_combo_destroy (GtkObject *object)
{
PixmapCombo *pc = PIXMAP_COMBO (object);
gtk_object_destroy (GTK_OBJECT (pc->tool_tip));
g_free (pc->pixmaps);
(*pixmap_combo_parent_class->finalize) (object);
(*pixmap_combo_parent_class->destroy) (object);
}
static void
pixmap_combo_class_init (GtkObjectClass *object_class)
{
object_class->finalize = pixmap_combo_finalize;
object_class->destroy = pixmap_combo_destroy;
pixmap_combo_parent_class = gtk_type_class (gtk_combo_box_get_type ());
......
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