[evolution-data-server] Use the helper e_data_book_view_{ref, unref} functions



commit 40a0b6cc9047799e8c1d62c96c704e64251431c4
Author: Rob Bradford <rob linux intel com>
Date:   Fri Apr 24 17:26:36 2009 +0100

    Use the helper e_data_book_view_{ref, unref} functions
    
    Fixes bug 580154.
---
 addressbook/libedata-book/e-book-backend.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/addressbook/libedata-book/e-book-backend.c b/addressbook/libedata-book/e-book-backend.c
index c03ff99..92d0af5 100644
--- a/addressbook/libedata-book/e-book-backend.c
+++ b/addressbook/libedata-book/e-book-backend.c
@@ -883,9 +883,9 @@ e_book_backend_foreach_view (EBookBackend *backend,
 	while (e_iterator_is_valid (iter)) {
 		view = (EDataBookView*)e_iterator_get (iter);
 
-		bonobo_object_ref (view);
+		e_data_book_view_ref (view);
 		callback (view, user_data);
-		bonobo_object_unref (view);
+		e_data_book_view_unref (view);
 
 		e_iterator_next (iter);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]