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



commit bef2c6559afb4a06ad670deddb1715dc94210960
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 51f4c53..a8e384b 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 f0c3e3d..4f6a5c1 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 999e76c..7f10720 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -5207,14 +5207,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;
@@ -5293,7 +5285,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 51e7afd..6080478 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 a895960..3fbce5f 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 12b204a..1ee79a6 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 c474597..2ef00b0 100644
--- a/camel/camel-offline-store.c
+++ b/camel/camel-offline-store.c
@@ -60,8 +60,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 7bfc91e..07c1000 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -7806,6 +7806,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 e203210..ee3fb47 100644
--- a/camel/providers/local/camel-local-folder.c
+++ b/camel/providers/local/camel-local-folder.c
@@ -163,6 +163,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 7e375a0..4c322d6 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 cccce01..b23522a 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 76cc359..9e50203 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 3487701..6623e1c 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 7e1db4b..6735fd5 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 12e88f4..530a535 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 b5940ec..1e90d92 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 b573630..535c7d0 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]