aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-20 02:16:55 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-20 02:16:55 +0800
commit97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac (patch)
treea44dea1b49f4fc15b883f4dbfab3a3f5072aa4cc /embed/downloader-view.c
parent5505f084a303a81b00117f856c664a49fa9c799e (diff)
downloadgsoc2013-epiphany-97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac.tar
gsoc2013-epiphany-97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac.tar.gz
gsoc2013-epiphany-97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac.tar.bz2
gsoc2013-epiphany-97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac.tar.lz
gsoc2013-epiphany-97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac.tar.xz
gsoc2013-epiphany-97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac.tar.zst
gsoc2013-epiphany-97ba3b6b0e04cfffd1d2bb08b5c4883db0045bac.zip
unref the model once it's set in the view
2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * 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
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c1
1 files changed, 1 insertions, 0 deletions
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);