From 97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 19 Oct 2003 18:16:55 +0000 Subject: unref the model once it's set in the view 2003-10-19 Marco Pesenti Gritti * embed/downloader-view.c: (downloader_view_build_ui): * src/language-editor.c: (language_editor_set_view): unref the model once it's set in the view --- embed/downloader-view.c | 1 + 1 file changed, 1 insertion(+) (limited to 'embed') diff --git a/embed/downloader-view.c b/embed/downloader-view.c index eee883bb3..54f2991d6 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -352,6 +352,7 @@ downloader_view_build_ui (DownloaderView *dv) gtk_tree_view_set_model (GTK_TREE_VIEW(priv->treeview), GTK_TREE_MODEL (liststore)); + g_object_unref (liststore); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW(priv->treeview), TRUE); -- cgit v1.2.3