[evolution-kolab/ek-wip-porting] CamelKolabIMAPXServer: added 'constructed()' class function for proper upchaining



commit 7e8c673e298357663b4899570e8160555f6e4b23
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Fri Mar 9 11:28:10 2012 +0100

    CamelKolabIMAPXServer: added 'constructed()' class function for proper upchaining
    
    * added a 'constructed()' function to the
      class and set it as virtual GObject function
    * now we should get a clean upchaining of that
      function:
      CamelKolabIMAPXServer -> CamelIMAPXExtdServer -> CamelIMAPXServer

 src/camel/camel-kolab-imapx-server.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/camel/camel-kolab-imapx-server.c b/src/camel/camel-kolab-imapx-server.c
index b73a3da..fb75c41 100644
--- a/src/camel/camel-kolab-imapx-server.c
+++ b/src/camel/camel-kolab-imapx-server.c
@@ -62,6 +62,15 @@ camel_kolab_imapx_server_init (CamelKolabIMAPXServer *self)
 }
 
 static void
+camel_kolab_imapx_server_constructed (GObject *object)
+{
+	g_assert (CAMEL_IS_KOLAB_IMAPX_SERVER (object));
+
+	G_OBJECT_CLASS (camel_kolab_imapx_server_parent_class)->constructed (object);
+}
+
+
+static void
 camel_kolab_imapx_server_dispose (GObject *object)
 {
 	g_assert (CAMEL_IS_KOLAB_IMAPX_SERVER (object));
@@ -303,6 +312,7 @@ camel_kolab_imapx_server_class_init (CamelKolabIMAPXServerClass *klass)
 
 	g_type_class_add_private (klass, sizeof (CamelKolabIMAPXServerPrivate));
 
+	object_class->constructed = camel_kolab_imapx_server_constructed;
 	object_class->dispose = camel_kolab_imapx_server_dispose;
 	object_class->finalize = camel_kolab_imapx_server_finalize;
 



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