[gnome-games] Use gtk_paned_new() instead gtk_[h|v]paned_new()



commit 2c1646f230eec1e9900630a40fdae50bd5ec85d4
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Nov 9 03:53:28 2010 +0100

    Use gtk_paned_new() instead gtk_[h|v]paned_new()

 gnect/src/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnect/src/main.c b/gnect/src/main.c
index 920a2c4..f149123 100644
--- a/gnect/src/main.c
+++ b/gnect/src/main.c
@@ -1363,7 +1363,11 @@ create_app (void)
   create_game_menus (ui_manager);
   menubar = gtk_ui_manager_get_widget (ui_manager, "/MainMenu");
 
+#if GTK_CHECK_VERSION (2, 90, 5)
+  vpaned = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
+#else
   vpaned = gtk_vpaned_new ();
+#endif
 
   vbox = gtk_vbox_new (FALSE, 0);
   gridframe = games_grid_frame_new (7, 7);



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