evolution-data-server r9608 - in trunk/addressbook: . libedata-book
- From: rbradford svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9608 - in trunk/addressbook: . libedata-book
- Date: Thu, 25 Sep 2008 09:21:03 +0000 (UTC)
Author: rbradford
Date: Thu Sep 25 09:21:03 2008
New Revision: 9608
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9608&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:
trunk/addressbook/ChangeLog
trunk/addressbook/libedata-book/e-data-book-view.c
trunk/addressbook/libedata-book/e-data-book-view.h
Modified: trunk/addressbook/libedata-book/e-data-book-view.c
==============================================================================
--- trunk/addressbook/libedata-book/e-data-book-view.c (original)
+++ trunk/addressbook/libedata-book/e-data-book-view.c Thu Sep 25 09:21:03 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: trunk/addressbook/libedata-book/e-data-book-view.h
==============================================================================
--- trunk/addressbook/libedata-book/e-data-book-view.h (original)
+++ trunk/addressbook/libedata-book/e-data-book-view.h Thu Sep 25 09:21:03 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]