Commit b2f4e11d authored by Emmanuele Bassi's avatar Emmanuele Bassi Committed by Emmanuele Bassi

Chain up to the parent's finalize virtual function.

2007-10-30  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkbuilder.c (gtk_builder_finalize): Chain up to the
	parent's finalize virtual function.

svn path=/trunk/; revision=18952
parent 5072e43b
2007-10-30 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkbuilder.c (gtk_builder_finalize): Chain up to the
parent's finalize virtual function.
2007-10-28 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Allow
......
......@@ -129,19 +129,22 @@ gtk_builder_init (GtkBuilder *builder)
static void
gtk_builder_finalize (GObject *object)
{
GtkBuilder *builder = GTK_BUILDER (object);
GtkBuilderPrivate *priv = GTK_BUILDER (object)->priv;
g_free (builder->priv->domain);
g_free (priv->domain);
g_free (priv->current_root);
g_free (priv->filename);
g_hash_table_destroy (priv->objects);
g_hash_table_destroy (priv->delayed_properties);
g_free (builder->priv->current_root);
g_hash_table_destroy (builder->priv->delayed_properties);
builder->priv->delayed_properties = NULL;
g_slist_foreach (builder->priv->signals, (GFunc)_free_signal_info, NULL);
g_slist_free (builder->priv->signals);
g_hash_table_destroy (builder->priv->objects);
g_slist_foreach (builder->priv->root_objects, (GFunc)g_object_unref, NULL);
g_slist_free (builder->priv->root_objects);
g_free (builder->priv->filename);
g_slist_foreach (priv->signals, (GFunc) _free_signal_info, NULL);
g_slist_free (priv->signals);
g_slist_foreach (priv->root_objects, (GFunc) g_object_unref, NULL);
g_slist_free (priv->root_objects);
G_OBJECT_CLASS (gtk_builder_parent_class)->finalize (object);
}
static void
......
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