Commit d324ec80 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

* gladeui/glade-clipboard.h, gladeui/glade-app.c: Removed clipboard->view member and

	  make GladeApp properly destroy the clipboard when disposing.
parent ca601f5b
......@@ -24,6 +24,9 @@
Completely removed GladeParameter, a legacy unused mechanism to store parameters in
the glade catalog for later retrieval from the plugin.
* gladeui/glade-clipboard.h, gladeui/glade-app.c: Removed clipboard->view member and
make GladeApp properly destroy the clipboard when disposing.
2010-12-31 Tristan Van Berkom <tristanvb@openismus.com>
* gladeui/glade-project.c: Further fixing project dispose cycle, still leaking a little
......
......@@ -177,7 +177,7 @@ glade_app_dispose (GObject * app)
}
if (priv->clipboard)
{
gtk_widget_destroy (GTK_WIDGET (priv->clipboard->view));
g_object_unref (priv->clipboard);
priv->clipboard = NULL;
}
/* FIXME: Remove projects */
......
......@@ -19,7 +19,6 @@ struct _GladeClipboard
GList *widgets; /* A list of GladeWidget's on the clipboard */
GList *selection; /* Selection list of GladeWidget's */
gboolean has_selection; /* TRUE if clipboard has selection */
GtkWidget *view; /* see glade-clipboard-view.c */
};
struct _GladeClipboardClass
......
Supports Markdown
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