aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-completion-view.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-09-13 23:37:59 +0800
committerDan Winship <danw@src.gnome.org>2001-09-13 23:37:59 +0800
commit00368d2905d4bd8da5dbf82f93e41043eeb349ff (patch)
tree1cd3cc901dc67326b27abd0a6768aa93ad3866b2 /widgets/text/e-completion-view.c
parent486e8ae7116850ef3513127567f5d2bc927c338d (diff)
downloadgsoc2013-evolution-00368d2905d4bd8da5dbf82f93e41043eeb349ff.tar
gsoc2013-evolution-00368d2905d4bd8da5dbf82f93e41043eeb349ff.tar.gz
gsoc2013-evolution-00368d2905d4bd8da5dbf82f93e41043eeb349ff.tar.bz2
gsoc2013-evolution-00368d2905d4bd8da5dbf82f93e41043eeb349ff.tar.lz
gsoc2013-evolution-00368d2905d4bd8da5dbf82f93e41043eeb349ff.tar.xz
gsoc2013-evolution-00368d2905d4bd8da5dbf82f93e41043eeb349ff.tar.zst
gsoc2013-evolution-00368d2905d4bd8da5dbf82f93e41043eeb349ff.zip
Unref the model after creating the ETable, since the table will hold a ref
* gal/e-text/e-completion-view.c (e_completion_view_construct): Unref the model after creating the ETable, since the table will hold a ref on it until we destroy it when we're destroyed. * gal/e-text/e-entry.c (e_entry_destroy): Unref the popup window rather than destroying it. svn path=/trunk/; revision=12798
Diffstat (limited to 'widgets/text/e-completion-view.c')
-rw-r--r--widgets/text/e-completion-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/text/e-completion-view.c b/widgets/text/e-completion-view.c
index fc10ff7b66..7ef019130c 100644
--- a/widgets/text/e-completion-view.c
+++ b/widgets/text/e-completion-view.c
@@ -740,6 +740,7 @@ e_completion_view_construct (ECompletionView *cv, ECompletion *completion)
cv);
cv->table = e_table_scrolled_new (cv->model, NULL, simple_spec, NULL);
+ gtk_object_unref (GTK_OBJECT (cv->model));
e_scroll_frame_set_shadow_type (E_SCROLL_FRAME (cv->table), GTK_SHADOW_NONE);
e_scroll_frame_set_scrollbar_spacing (E_SCROLL_FRAME (cv->table), 0);