diff options
author | Mike Kestner <mkestner@ximian.com> | 2002-08-29 11:20:28 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2002-08-29 11:20:28 +0800 |
commit | 7e0ae5059b00da3905fc3a9edb4fd9eac2897613 (patch) | |
tree | a4b9c04f15a0be2a5ffa5e2d23465816e7e08e30 /addressbook/gui | |
parent | 45c535bd488e01e74141575c3225476691953b94 (diff) | |
download | gsoc2013-evolution-7e0ae5059b00da3905fc3a9edb4fd9eac2897613.tar.gz gsoc2013-evolution-7e0ae5059b00da3905fc3a9edb4fd9eac2897613.tar.zst gsoc2013-evolution-7e0ae5059b00da3905fc3a9edb4fd9eac2897613.zip |
stop the EBookViews before unreffing.
2002-08-28 Mike Kestner <mkestner@ximian.com>
* gui/component/select-names/e-select-names-completion.c : stop the
EBookViews before unreffing.
svn path=/trunk/; revision=17910
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-completion.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-completion.c b/addressbook/gui/component/select-names/e-select-names-completion.c index ae27a8c675..9a95bafbe8 100644 --- a/addressbook/gui/component/select-names/e-select-names-completion.c +++ b/addressbook/gui/component/select-names/e-select-names-completion.c @@ -753,8 +753,10 @@ e_select_names_completion_clear_book_data (ESelectNamesCompletion *comp) gtk_object_unref (GTK_OBJECT (book_data->book)); - if (book_data->book_view) + if (book_data->book_view) { + e_book_view_stop (book_data->book_view); gtk_object_unref (GTK_OBJECT (book_data->book_view)); + } g_free (book_data); } @@ -847,8 +849,10 @@ e_select_names_completion_got_book_view_cb (EBook *book, EBookStatus status, EBo } gtk_object_ref (GTK_OBJECT (view)); - if (book_data->book_view) + if (book_data->book_view) { + e_book_view_stop (book_data->book_view); gtk_object_unref (GTK_OBJECT (book_data->book_view)); + } book_data->book_view = view; book_data->card_added_tag = @@ -971,6 +975,8 @@ e_select_names_completion_stop_query (ESelectNamesCompletion *comp) if (out) fprintf (out, "unrefed book view\n"); + + e_book_view_stop (book_data->book_view); gtk_object_unref (GTK_OBJECT (book_data->book_view)); book_data->book_view = NULL; } |