evolution-data-server r9533 - in branches/eds-dbus/addressbook: . libedata-book



Author: rbradford
Date: Fri Sep 12 10:55:15 2008
New Revision: 9533
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9533&view=rev

Log:
2008-09-12  Rob Bradford  <rob linux intel com>

	* libedata-book/e-data-book-view.c (e_data_book_view_ref),
	(e_data_book_view_unref):
	* libedata-book/e-data-book-view.h:
	Add transition functions e_data_book_view_ref and
	e_data_book_view_unref to ease the transition from Bonobo to DBUS.

Modified:
   branches/eds-dbus/addressbook/ChangeLog
   branches/eds-dbus/addressbook/libedata-book/e-data-book-view.c
   branches/eds-dbus/addressbook/libedata-book/e-data-book-view.h

Modified: branches/eds-dbus/addressbook/libedata-book/e-data-book-view.c
==============================================================================
--- branches/eds-dbus/addressbook/libedata-book/e-data-book-view.c	(original)
+++ branches/eds-dbus/addressbook/libedata-book/e-data-book-view.c	Fri Sep 12 10:55:15 2008
@@ -667,6 +667,32 @@
 	return book_view;
 }
 
+/**
+ * e_data_book_view_ref
+ * @book_view: an #EBookView
+ *
+ * Increase the reference count of the book view. This is a function to aid
+ * the transition from Bonobo to DBUS.
+ */
+void
+e_data_book_view_ref (EDataBookView *book_view)
+{
+	bonobo_object_ref (book_view);
+}
+
+/**
+ * e_data_book_view_unref
+ * @book_view: an #EBookView
+ *
+ * Decrease the reference count of the book view. This is a function to aid
+ * the transition from Bonobo to DBUS.
+ */
+void
+e_data_book_view_unref (EDataBookView *book_view)
+{
+	bonobo_object_unref (book_view);
+}
+
 static void
 e_data_book_view_dispose (GObject *object)
 {

Modified: branches/eds-dbus/addressbook/libedata-book/e-data-book-view.h
==============================================================================
--- branches/eds-dbus/addressbook/libedata-book/e-data-book-view.h	(original)
+++ branches/eds-dbus/addressbook/libedata-book/e-data-book-view.h	Fri Sep 12 10:55:15 2008
@@ -74,6 +74,8 @@
 						      GNOME_Evolution_Addressbook_CallStatus);
 void         e_data_book_view_notify_status_message  (EDataBookView                *book_view,
 						      const char                   *message);
+void         e_data_book_view_ref                    (EDataBookView                *book_view);
+void         e_data_book_view_unref                  (EDataBookView                *book_view);
 
 GType        e_data_book_view_get_type               (void);
 



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