diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-07 11:44:41 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-07 11:44:41 +0800 |
commit | f1bf0afda992d969be86bfe29c464a8c435dcebf (patch) | |
tree | bc6ca2961999420dc0a404e53d0df0ff7e544d00 /addressbook/backend/pas | |
parent | 4dec64f37372d00c85060c11837fa818d5dc7bcc (diff) | |
download | gsoc2013-evolution-f1bf0afda992d969be86bfe29c464a8c435dcebf.tar gsoc2013-evolution-f1bf0afda992d969be86bfe29c464a8c435dcebf.tar.gz gsoc2013-evolution-f1bf0afda992d969be86bfe29c464a8c435dcebf.tar.bz2 gsoc2013-evolution-f1bf0afda992d969be86bfe29c464a8c435dcebf.tar.lz gsoc2013-evolution-f1bf0afda992d969be86bfe29c464a8c435dcebf.tar.xz gsoc2013-evolution-f1bf0afda992d969be86bfe29c464a8c435dcebf.tar.zst gsoc2013-evolution-f1bf0afda992d969be86bfe29c464a8c435dcebf.zip |
use g_type_class_peek_parent.
2002-11-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-card-sexp.c
(pas_backend_card_sexp_class_init): use g_type_class_peek_parent.
* backend/pas/pas-card-cursor.c (pas_card_cursor_class_init): same.
* backend/pas/pas-book-view.c (pas_book_view_class_init): same.
* backend/pas/pas-book-factory.c (pas_book_factory_class_init): same.
* backend/pas/pas-backend-summary.c (pas_backend_summary_class_init): same.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_class_init): same.
* backend/pas/pas-backend-file.c (pas_backend_file_class_init): same.
* backend/ebook/e-book-marshal.list: ENUM -> INT.
* backend/ebook/e-book-view.c (e_book_view_dispose): guard against
this being called multiple times.
(e_book_view_class_init): ENUM -> INT in the sequence_complete
signal.
* backend/ebook/e-book.c (e_book_do_response_open): un-ifdef the
component_died signal stuff.
svn path=/trunk/; revision=18623
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r-- | addressbook/backend/pas/pas-backend-card-sexp.c | 2 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-file.c | 2 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-ldap.c | 2 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-summary.c | 2 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-book-factory.c | 2 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-book-view.c | 2 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-card-cursor.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/addressbook/backend/pas/pas-backend-card-sexp.c b/addressbook/backend/pas/pas-backend-card-sexp.c index f33c391534..f79046def1 100644 --- a/addressbook/backend/pas/pas-backend-card-sexp.c +++ b/addressbook/backend/pas/pas-backend-card-sexp.c @@ -422,7 +422,7 @@ pas_backend_card_sexp_class_init (PASBackendCardSExpClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - parent_class = g_type_class_ref (G_TYPE_OBJECT); + parent_class = g_type_class_peek_parent (klass); /* Set the virtual methods. */ diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index 0c09f5e325..0b61ccd16f 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -1644,7 +1644,7 @@ pas_backend_file_class_init (PASBackendFileClass *klass) GObjectClass *object_class = G_OBJECT_CLASS (klass); PASBackendClass *parent_class; - pas_backend_file_parent_class = g_type_class_ref (PAS_TYPE_BACKEND); + pas_backend_file_parent_class = g_type_class_peek_parent (klass); parent_class = PAS_BACKEND_CLASS (klass); diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c index 4b180632b4..cf464ba4e6 100644 --- a/addressbook/backend/pas/pas-backend-ldap.c +++ b/addressbook/backend/pas/pas-backend-ldap.c @@ -3463,7 +3463,7 @@ pas_backend_ldap_class_init (PASBackendLDAPClass *klass) /* get client side information (extensions present in the library) */ get_ldap_library_info (); - pas_backend_ldap_parent_class = g_type_class_ref (PAS_TYPE_BACKEND); + pas_backend_ldap_parent_class = g_type_class_peek_parent (klass); parent_class = PAS_BACKEND_CLASS (klass); diff --git a/addressbook/backend/pas/pas-backend-summary.c b/addressbook/backend/pas/pas-backend-summary.c index 9161ef7ffb..a8683912f9 100644 --- a/addressbook/backend/pas/pas-backend-summary.c +++ b/addressbook/backend/pas/pas-backend-summary.c @@ -177,7 +177,7 @@ pas_backend_summary_class_init (PASBackendSummaryClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - parent_class = g_type_class_ref (G_TYPE_OBJECT); + parent_class = g_type_class_peek_parent (klass); /* Set the virtual methods. */ diff --git a/addressbook/backend/pas/pas-book-factory.c b/addressbook/backend/pas/pas-book-factory.c index dd80c470db..5ca1af6acc 100644 --- a/addressbook/backend/pas/pas-book-factory.c +++ b/addressbook/backend/pas/pas-book-factory.c @@ -562,7 +562,7 @@ pas_book_factory_class_init (PASBookFactoryClass *klass) GObjectClass *object_class = G_OBJECT_CLASS (klass); POA_GNOME_Evolution_Addressbook_BookFactory__epv *epv; - pas_book_factory_parent_class = g_type_class_ref (BONOBO_TYPE_OBJECT); + pas_book_factory_parent_class = g_type_class_peek_parent (klass); object_class->dispose = pas_book_factory_dispose; diff --git a/addressbook/backend/pas/pas-book-view.c b/addressbook/backend/pas/pas-book-view.c index 392291726f..722732beb9 100644 --- a/addressbook/backend/pas/pas-book-view.c +++ b/addressbook/backend/pas/pas-book-view.c @@ -228,7 +228,7 @@ pas_book_view_class_init (PASBookViewClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - pas_book_view_parent_class = g_object_new (BONOBO_TYPE_OBJECT, NULL); + pas_book_view_parent_class = g_type_class_peek_parent (klass); object_class->dispose = pas_book_view_dispose; } diff --git a/addressbook/backend/pas/pas-card-cursor.c b/addressbook/backend/pas/pas-card-cursor.c index c9e6df4e80..52d8911271 100644 --- a/addressbook/backend/pas/pas-card-cursor.c +++ b/addressbook/backend/pas/pas-card-cursor.c @@ -74,7 +74,7 @@ pas_card_cursor_class_init (PASCardCursorClass *klass) GObjectClass *object_class = G_OBJECT_CLASS (klass); POA_GNOME_Evolution_Addressbook_CardCursor__epv *epv; - parent_class = g_type_class_ref (BONOBO_TYPE_OBJECT); + parent_class = g_type_class_peek_parent (klass); object_class->dispose = pas_card_cursor_dispose; |