[evolution-data-server/evolution-data-server-3-12] Add missing chain-up-s to parent's constructed() method



commit 28c3c0be6f6628ef1120d93604135ebdc7122614
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jul 17 12:11:59 2014 +0200

    Add missing chain-up-s to parent's constructed() method
    
    Plus a little code cleanup for easier grepping.

 .../backends/google/e-gdata-oauth2-authorizer.c    |    3 +--
 addressbook/backends/ldap/e-source-ldap.c          |    3 +++
 calendar/backends/caldav/e-cal-backend-caldav.c    |    9 ---------
 .../backends/contacts/e-cal-backend-contacts.c     |    3 +--
 .../backends/gtasks/e-gdata-oauth2-authorizer.c    |    3 +--
 calendar/libedata-cal/e-cal-backend-store.c        |    3 +--
 camel/camel-folder-search.c                        |    3 +--
 camel/camel-offline-store.c                        |    3 +--
 camel/providers/imapx/camel-imapx-server.c         |    3 +++
 camel/providers/local/camel-local-folder.c         |    3 +++
 libebackend/e-authentication-mediator.c            |    3 +--
 libebackend/e-authentication-session.c             |    3 +--
 libebackend/e-collection-backend.c                 |    3 +--
 libebackend/e-user-prompter-server.c               |    3 +--
 libedataserver/e-source-camel.c                    |    3 +--
 libedataserver/e-source-mail-signature.c           |    3 +--
 .../module-gnome-online-accounts.c                 |    3 +--
 .../module-ubuntu-online-accounts.c                |    3 +--
 18 files changed, 23 insertions(+), 37 deletions(-)
---
diff --git a/addressbook/backends/google/e-gdata-oauth2-authorizer.c 
b/addressbook/backends/google/e-gdata-oauth2-authorizer.c
index 8b1bca5..9bd5c38 100644
--- a/addressbook/backends/google/e-gdata-oauth2-authorizer.c
+++ b/addressbook/backends/google/e-gdata-oauth2-authorizer.c
@@ -150,8 +150,7 @@ gdata_oauth2_authorizer_constructed (GObject *object)
        GList *domains;
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_gdata_oauth2_authorizer_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_gdata_oauth2_authorizer_parent_class)->constructed (object);
 
        priv = E_GDATA_OAUTH2_AUTHORIZER_GET_PRIVATE (object);
 
diff --git a/addressbook/backends/ldap/e-source-ldap.c b/addressbook/backends/ldap/e-source-ldap.c
index 24f4a1e..fe6c349 100644
--- a/addressbook/backends/ldap/e-source-ldap.c
+++ b/addressbook/backends/ldap/e-source-ldap.c
@@ -241,6 +241,9 @@ source_ldap_constructed (GObject *object)
        ESourceExtension *other_extension;
        const gchar *extension_name;
 
+       /* Chain up to parent's method. */
+       G_OBJECT_CLASS (e_source_ldap_parent_class)->constructed (object);
+
        this_extension = E_SOURCE_EXTENSION (object);
        source = e_source_extension_ref_source (this_extension);
 
diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
index b7c07b9..f189126 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -5239,14 +5239,6 @@ e_cal_backend_caldav_finalize (GObject *object)
 }
 
 static void
-cal_backend_caldav_constructed (GObject *object)
-{
-       /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_cal_backend_caldav_parent_class)->
-               constructed (object);
-}
-
-static void
 e_cal_backend_caldav_init (ECalBackendCalDAV *cbdav)
 {
        SoupSessionFeature *feature;
@@ -5325,7 +5317,6 @@ e_cal_backend_caldav_class_init (ECalBackendCalDAVClass *class)
 
        object_class->dispose = e_cal_backend_caldav_dispose;
        object_class->finalize = e_cal_backend_caldav_finalize;
-       object_class->constructed = cal_backend_caldav_constructed;
 
        backend_class->get_backend_property = caldav_get_backend_property;
        backend_class->shutdown = caldav_shutdown;
diff --git a/calendar/backends/contacts/e-cal-backend-contacts.c 
b/calendar/backends/contacts/e-cal-backend-contacts.c
index d5fca99..4c2b67e 100644
--- a/calendar/backends/contacts/e-cal-backend-contacts.c
+++ b/calendar/backends/contacts/e-cal-backend-contacts.c
@@ -1290,8 +1290,7 @@ e_cal_backend_contacts_constructed (GObject *object)
                (GDestroyNotify) g_object_unref);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_cal_backend_contacts_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_cal_backend_contacts_parent_class)->constructed (object);
 }
 
 /* Object initialization function for the contacts backend */
diff --git a/calendar/backends/gtasks/e-gdata-oauth2-authorizer.c 
b/calendar/backends/gtasks/e-gdata-oauth2-authorizer.c
index d65b934..c1c5632 100644
--- a/calendar/backends/gtasks/e-gdata-oauth2-authorizer.c
+++ b/calendar/backends/gtasks/e-gdata-oauth2-authorizer.c
@@ -150,8 +150,7 @@ gdata_oauth2_authorizer_constructed (GObject *object)
        GList *domains;
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_gdata_oauth2_authorizer_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_gdata_oauth2_authorizer_parent_class)->constructed (object);
 
        priv = E_GDATA_OAUTH2_AUTHORIZER_GET_PRIVATE (object);
 
diff --git a/calendar/libedata-cal/e-cal-backend-store.c b/calendar/libedata-cal/e-cal-backend-store.c
index e84cea7..b0a47dd 100644
--- a/calendar/libedata-cal/e-cal-backend-store.c
+++ b/calendar/libedata-cal/e-cal-backend-store.c
@@ -619,8 +619,7 @@ cal_backend_store_constructed (GObject *object)
        g_object_unref (timezone_cache);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_cal_backend_store_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_cal_backend_store_parent_class)->constructed (object);
 }
 
 static gboolean
diff --git a/camel/camel-folder-search.c b/camel/camel-folder-search.c
index 4faa992..983682f 100644
--- a/camel/camel-folder-search.c
+++ b/camel/camel-folder-search.c
@@ -754,8 +754,7 @@ folder_search_constructed (GObject *object)
        gint ii;
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (camel_folder_search_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (camel_folder_search_parent_class)->constructed (object);
 
        search = CAMEL_FOLDER_SEARCH (object);
        class = CAMEL_FOLDER_SEARCH_GET_CLASS (search);
diff --git a/camel/camel-offline-store.c b/camel/camel-offline-store.c
index fbaafcb..c56ed94 100644
--- a/camel/camel-offline-store.c
+++ b/camel/camel-offline-store.c
@@ -61,8 +61,7 @@ offline_store_constructed (GObject *object)
        priv = CAMEL_OFFLINE_STORE_GET_PRIVATE (object);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (camel_offline_store_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (camel_offline_store_parent_class)->constructed (object);
 
        session = camel_service_ref_session (CAMEL_SERVICE (object));
        priv->online = camel_session_get_online (session);
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index d00416c..90149d8 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -7829,6 +7829,9 @@ imapx_server_constructed (GObject *object)
        CamelIMAPXServer *server;
        CamelIMAPXServerClass *class;
 
+       /* Chain up to parent's method. */
+       G_OBJECT_CLASS (camel_imapx_server_parent_class)->constructed (object);
+
        server = CAMEL_IMAPX_SERVER (object);
        class = CAMEL_IMAPX_SERVER_GET_CLASS (server);
 
diff --git a/camel/providers/local/camel-local-folder.c b/camel/providers/local/camel-local-folder.c
index 373f27d..482983d 100644
--- a/camel/providers/local/camel-local-folder.c
+++ b/camel/providers/local/camel-local-folder.c
@@ -164,6 +164,9 @@ local_folder_constructed (GObject *object)
        gchar *root_path;
        gchar *path;
 
+       /* Chain up to parent's method. */
+       G_OBJECT_CLASS (camel_local_folder_parent_class)->constructed (object);
+
        folder = CAMEL_FOLDER (object);
        full_name = camel_folder_get_full_name (folder);
        parent_store = camel_folder_get_parent_store (folder);
diff --git a/libebackend/e-authentication-mediator.c b/libebackend/e-authentication-mediator.c
index 9d36933..b6f2e3b 100644
--- a/libebackend/e-authentication-mediator.c
+++ b/libebackend/e-authentication-mediator.c
@@ -718,8 +718,7 @@ authentication_mediator_constructed (GObject *object)
                        mediator, (GDestroyNotify) NULL);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_authentication_mediator_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_authentication_mediator_parent_class)->constructed (object);
 }
 
 static gboolean
diff --git a/libebackend/e-authentication-session.c b/libebackend/e-authentication-session.c
index bfec0e3..f664a30 100644
--- a/libebackend/e-authentication-session.c
+++ b/libebackend/e-authentication-session.c
@@ -322,8 +322,7 @@ authentication_session_constructed (GObject *object)
        session = E_AUTHENTICATION_SESSION (object);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_authentication_session_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_authentication_session_parent_class)->constructed (object);
 
        /* If the server knows about the data source UID we've been
         * given, then we can auto-configure our own prompt strings. */
diff --git a/libebackend/e-collection-backend.c b/libebackend/e-collection-backend.c
index 66c836c..d41998d 100644
--- a/libebackend/e-collection-backend.c
+++ b/libebackend/e-collection-backend.c
@@ -680,8 +680,7 @@ collection_backend_constructed (GObject *object)
        backend = E_COLLECTION_BACKEND (object);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_collection_backend_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_collection_backend_parent_class)->constructed (object);
 
        server = e_collection_backend_ref_server (backend);
        source = e_backend_get_source (E_BACKEND (backend));
diff --git a/libebackend/e-user-prompter-server.c b/libebackend/e-user-prompter-server.c
index 9b74a0c..5348327 100644
--- a/libebackend/e-user-prompter-server.c
+++ b/libebackend/e-user-prompter-server.c
@@ -326,8 +326,7 @@ static void
 user_prompter_server_constructed (GObject *object)
 {
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_user_prompter_server_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_user_prompter_server_parent_class)->constructed (object);
 
        e_extensible_load_extensions (E_EXTENSIBLE (object));
 }
diff --git a/libedataserver/e-source-camel.c b/libedataserver/e-source-camel.c
index bb5660a..b040e49 100644
--- a/libedataserver/e-source-camel.c
+++ b/libedataserver/e-source-camel.c
@@ -369,8 +369,7 @@ source_camel_constructed (GObject *object)
        guint array_index = 0;
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_source_camel_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_source_camel_parent_class)->constructed (object);
 
        class = E_SOURCE_CAMEL_GET_CLASS (object);
        priv = E_SOURCE_CAMEL_GET_PRIVATE (object);
diff --git a/libedataserver/e-source-mail-signature.c b/libedataserver/e-source-mail-signature.c
index 39f56a9..3dd4b5b 100644
--- a/libedataserver/e-source-mail-signature.c
+++ b/libedataserver/e-source-mail-signature.c
@@ -169,8 +169,7 @@ source_mail_signature_constructed (GObject *object)
        priv = E_SOURCE_MAIL_SIGNATURE_GET_PRIVATE (object);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_source_mail_signature_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_source_mail_signature_parent_class)->constructed (object);
 
        extension = E_SOURCE_EXTENSION (object);
        source = e_source_extension_ref_source (extension);
diff --git a/modules/gnome-online-accounts/module-gnome-online-accounts.c 
b/modules/gnome-online-accounts/module-gnome-online-accounts.c
index 973d182..4686e77 100644
--- a/modules/gnome-online-accounts/module-gnome-online-accounts.c
+++ b/modules/gnome-online-accounts/module-gnome-online-accounts.c
@@ -1235,8 +1235,7 @@ gnome_online_accounts_constructed (GObject *object)
                extension);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_gnome_online_accounts_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_gnome_online_accounts_parent_class)->constructed (object);
 }
 
 static gboolean
diff --git a/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c 
b/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c
index 3e16146..130951a 100644
--- a/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c
+++ b/modules/ubuntu-online-accounts/module-ubuntu-online-accounts.c
@@ -899,8 +899,7 @@ ubuntu_online_accounts_constructed (GObject *object)
                extension);
 
        /* Chain up to parent's constructed() method. */
-       G_OBJECT_CLASS (e_ubuntu_online_accounts_parent_class)->
-               constructed (object);
+       G_OBJECT_CLASS (e_ubuntu_online_accounts_parent_class)->constructed (object);
 }
 
 static gboolean


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