[gnome-terminal] Fix build after GtkObject removal on gtk 3



commit ccaa3fd8b6c1175a626e7bb88395fc33b1c67795
Author: Christian Persch <chpe gnome org>
Date:   Tue Sep 28 19:46:20 2010 +0200

    Fix build after GtkObject removal on gtk 3

 src/terminal-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 131b098..51fcdfa 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -3892,7 +3892,11 @@ tabs_next_or_previous_tab_cb (GtkAction *action,
   gtk_binding_set_activate (gtk_binding_set_by_class (klass),
                             keyval,
                             GDK_CONTROL_MASK,
+#if GTK_CHECK_VERSION (2, 90, 8)
+                            G_OBJECT (priv->notebook));
+#else
                             GTK_OBJECT (priv->notebook));
+#endif
 }
 
 static void



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