[gedit] Bump glib to 2.27.92 and chain up unconditionally in constructed override.



commit e4031f2872802db2d3ed761648ebc3d64c5673ed
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Jan 12 20:11:29 2011 +0100

    Bump glib to 2.27.92 and chain up unconditionally in constructed override.

 configure.ac                              |    2 +-
 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 |    5 +----
 6 files changed, 6 insertions(+), 21 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 378b63c..6833e13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -279,7 +279,7 @@ dnl ================================================================
 
 PKG_CHECK_MODULES(GEDIT, [
 	libxml-2.0 >= 2.5.0
-	glib-2.0 >= 2.25.15
+	glib-2.0 >= 2.27.92
 	gthread-2.0 >= 2.13.0
 	gio-2.0 >= 2.25.11
 	gtk+-3.0 >= 2.99.0
diff --git a/gedit/gedit-document-output-stream.c b/gedit/gedit-document-output-stream.c
index d81cc1e..52d7fad 100644
--- a/gedit/gedit-document-output-stream.c
+++ b/gedit/gedit-document-output-stream.c
@@ -178,10 +178,7 @@ gedit_document_output_stream_constructed (GObject *object)
 
 	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);
-	}
+	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 574b334..b638ab3 100644
--- a/gedit/gedit-fifo.c
+++ b/gedit/gedit-fifo.c
@@ -189,10 +189,7 @@ gedit_fifo_constructed (GObject *object)
 		self->priv->file = NULL;
 	}
 
-	if (G_OBJECT_CLASS (gedit_fifo_parent_class)->constructed)
-	{
-		G_OBJECT_CLASS (gedit_fifo_parent_class)->constructed (object);
-	}
+	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 690602d..2339d5f 100644
--- a/gedit/gedit-tab-label.c
+++ b/gedit/gedit-tab-label.c
@@ -218,10 +218,7 @@ gedit_tab_label_constructed (GObject *object)
 				 tab_label,
 				 0);
 
-	if (G_OBJECT_CLASS (gedit_tab_label_parent_class)->constructed)
-	{
-		G_OBJECT_CLASS (gedit_tab_label_parent_class)->constructed (object);
-	}
+	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 a941e81..1439344 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -375,10 +375,7 @@ gedit_view_constructed (GObject *object)
 	              "indent_on_tab", TRUE,
 	              NULL);
 
-	if (G_OBJECT_CLASS (gedit_view_parent_class)->constructed)
-	{
-		G_OBJECT_CLASS (gedit_view_parent_class)->constructed (object);
-	}
+	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 28821e1..82936c0 100644
--- a/plugins/modelines/gedit-modeline-plugin.c
+++ b/plugins/modelines/gedit-modeline-plugin.c
@@ -66,10 +66,7 @@ gedit_modeline_plugin_constructed (GObject *object)
 
 	g_free (data_dir);
 
-	if (G_OBJECT_CLASS (gedit_modeline_plugin_parent_class)->constructed)
-	{
-		G_OBJECT_CLASS (gedit_modeline_plugin_parent_class)->constructed (object);
-	}
+	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]