[gnome-games] a higher version of gtk is already required
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] a higher version of gtk is already required
- Date: Tue, 9 Nov 2010 22:35:02 +0000 (UTC)
commit 79d30b30f4c22f8e9190009296d1ef14bac75e83
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Tue Nov 9 23:34:12 2010 +0100
a higher version of gtk is already required
glines/glines.c | 4 ----
gnect/src/main.c | 4 ----
gnibbles/main.c | 4 ----
gnotski/gnotski.c | 4 ----
libgames-support/games-frame.c | 2 --
5 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/glines/glines.c b/glines/glines.c
index b23c234..90db0a2 100644
--- a/glines/glines.c
+++ b/glines/glines.c
@@ -1208,11 +1208,7 @@ game_about_callback (GtkAction * action, gpointer * data)
gchar *license = games_get_license (_("Five or More"));
gtk_show_about_dialog (GTK_WINDOW (app),
-#if GTK_CHECK_VERSION (2, 11, 0)
"program-name", _("Five or More"),
-#else
- "name", _("Five or More"),
-#endif
"version", VERSION,
"comments", _("GNOME port of the once-popular Color Lines game.\n\nFive or More is a part of GNOME Games."),
"copyright",
diff --git a/gnect/src/main.c b/gnect/src/main.c
index f149123..a645f58 100644
--- a/gnect/src/main.c
+++ b/gnect/src/main.c
@@ -1363,11 +1363,7 @@ 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);
diff --git a/gnibbles/main.c b/gnibbles/main.c
index 144ee96..04a604b 100644
--- a/gnibbles/main.c
+++ b/gnibbles/main.c
@@ -196,11 +196,7 @@ about_cb (GtkAction * action, gpointer data)
gchar *license = games_get_license (_("Nibbles"));
gtk_show_about_dialog (GTK_WINDOW (window),
-#if GTK_CHECK_VERSION (2, 11, 0)
"program-name", _("Nibbles"),
-#else
- "name", _("Nibbles"),
-#endif
"version", VERSION,
"copyright",
"Copyright \xc2\xa9 1999-2008 Sean MacIsaac, Ian Peters, Andreas Røsdal"
diff --git a/gnotski/gnotski.c b/gnotski/gnotski.c
index 8624b14..ee5c573 100644
--- a/gnotski/gnotski.c
+++ b/gnotski/gnotski.c
@@ -1478,11 +1478,7 @@ about_cb (GtkAction * action)
gchar *license = games_get_license (_(APPNAME_LONG));
gtk_show_about_dialog (GTK_WINDOW (window),
-#if GTK_CHECK_VERSION (2, 11, 0)
"program-name", _(APPNAME_LONG),
-#else
- "name", _(APPNAME_LONG),
-#endif
"version", VERSION,
"comments", _("Sliding Block Puzzles\n\n"
"Klotski is a part of GNOME Games."),
diff --git a/libgames-support/games-frame.c b/libgames-support/games-frame.c
index 2bce514..524284e 100644
--- a/libgames-support/games-frame.c
+++ b/libgames-support/games-frame.c
@@ -43,9 +43,7 @@ games_frame_init (GamesFrame * frame)
gtk_box_set_spacing (box, 6);
gtk_box_set_homogeneous (box, FALSE);
-#if GTK_CHECK_VERSION (2, 15, 0)
gtk_orientable_set_orientation (GTK_ORIENTABLE (frame), GTK_ORIENTATION_VERTICAL);
-#endif
frame->label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (frame->label), 0.0, 0.5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]