[gedit] Chain up on constructed.



commit 88742256c202250c7dd27e07336b57b89faf1195
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Jan 12 15:48:58 2011 +0100

    Chain up on constructed.

 gedit/gedit-document-output-stream.c      |    5 +++++
 gedit/gedit-fifo.c                        |    5 +++++
 gedit/gedit-tab-label.c                   |    5 +++++
 gedit/gedit-view.c                        |    5 +++++
 plugins/modelines/gedit-modeline-plugin.c |    7 ++++++-
 5 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-document-output-stream.c b/gedit/gedit-document-output-stream.c
index 8464602..d81cc1e 100644
--- a/gedit/gedit-document-output-stream.c
+++ b/gedit/gedit-document-output-stream.c
@@ -177,6 +177,11 @@ gedit_document_output_stream_constructed (GObject *object)
 				      FALSE);
 
 	gtk_source_buffer_end_not_undoable_action (GTK_SOURCE_BUFFER (stream->priv->doc));
+
+	if (G_OBJECT_CLASS (gedit_document_output_stream_parent_class)->constructed)
+	{
+		G_OBJECT_CLASS (gedit_document_output_stream_parent_class)->constructed (object);
+	}
 }
 
 static void
diff --git a/gedit/gedit-fifo.c b/gedit/gedit-fifo.c
index 4887fdb..574b334 100644
--- a/gedit/gedit-fifo.c
+++ b/gedit/gedit-fifo.c
@@ -188,6 +188,11 @@ gedit_fifo_constructed (GObject *object)
 		g_object_unref (self->priv->file);
 		self->priv->file = NULL;
 	}
+
+	if (G_OBJECT_CLASS (gedit_fifo_parent_class)->constructed)
+	{
+		G_OBJECT_CLASS (gedit_fifo_parent_class)->constructed (object);
+	}
 }
 
 static void
diff --git a/gedit/gedit-tab-label.c b/gedit/gedit-tab-label.c
index 6e18b2d..690602d 100644
--- a/gedit/gedit-tab-label.c
+++ b/gedit/gedit-tab-label.c
@@ -217,6 +217,11 @@ gedit_tab_label_constructed (GObject *object)
 				 G_CALLBACK (sync_state),
 				 tab_label,
 				 0);
+
+	if (G_OBJECT_CLASS (gedit_tab_label_parent_class)->constructed)
+	{
+		G_OBJECT_CLASS (gedit_tab_label_parent_class)->constructed (object);
+	}
 }
 
 static void
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index 7e80829..a941e81 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -374,6 +374,11 @@ gedit_view_constructed (GObject *object)
 	              "smart_home_end", smart_home_end,
 	              "indent_on_tab", TRUE,
 	              NULL);
+
+	if (G_OBJECT_CLASS (gedit_view_parent_class)->constructed)
+	{
+		G_OBJECT_CLASS (gedit_view_parent_class)->constructed (object);
+	}
 }
 
 static gint
diff --git a/plugins/modelines/gedit-modeline-plugin.c b/plugins/modelines/gedit-modeline-plugin.c
index c67a01d..28821e1 100644
--- a/plugins/modelines/gedit-modeline-plugin.c
+++ b/plugins/modelines/gedit-modeline-plugin.c
@@ -20,7 +20,7 @@
  */
  
 #ifdef HAVE_CONFIG_H
-#	include <config.h>
+#include <config.h>
 #endif
 
 #include <glib/gi18n-lib.h>
@@ -65,6 +65,11 @@ gedit_modeline_plugin_constructed (GObject *object)
 	modeline_parser_init (data_dir);
 
 	g_free (data_dir);
+
+	if (G_OBJECT_CLASS (gedit_modeline_plugin_parent_class)->constructed)
+	{
+		G_OBJECT_CLASS (gedit_modeline_plugin_parent_class)->constructed (object);
+	}
 }
 
 static void



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