diff options
author | Dan Winship <danw@src.gnome.org> | 2001-09-13 23:37:59 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-09-13 23:37:59 +0800 |
commit | 00368d2905d4bd8da5dbf82f93e41043eeb349ff (patch) | |
tree | 1cd3cc901dc67326b27abd0a6768aa93ad3866b2 /widgets/text/e-entry.c | |
parent | 486e8ae7116850ef3513127567f5d2bc927c338d (diff) | |
download | gsoc2013-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-entry.c')
-rw-r--r-- | widgets/text/e-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c index 120db13637..4345994126 100644 --- a/widgets/text/e-entry.c +++ b/widgets/text/e-entry.c @@ -1126,7 +1126,7 @@ e_entry_destroy (GtkObject *object) if (entry->priv->completion) gtk_object_unref (GTK_OBJECT (entry->priv->completion)); if (entry->priv->completion_view_popup) - gtk_widget_destroy (entry->priv->completion_view_popup); + gtk_object_unref (GTK_OBJECT (entry->priv->completion_view_popup)); g_free (entry->priv->pre_browse_text); if (entry->priv->changed_since_keypress_tag) |