[gnome-games/gnome-2-32] aisleriot: Fix the build with gtk3
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-2-32] aisleriot: Fix the build with gtk3
- Date: Sun, 5 Sep 2010 11:39:03 +0000 (UTC)
commit c232f202e76bda02d3ac4b9d4c8d30be5c86e642
Author: Christian Persch <chpe gnome org>
Date: Thu Sep 2 18:24:11 2010 +0200
aisleriot: Fix the build with gtk3
aisleriot/ar-game-chooser.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/aisleriot/ar-game-chooser.c b/aisleriot/ar-game-chooser.c
index c6c837e..8462ae6 100644
--- a/aisleriot/ar-game-chooser.c
+++ b/aisleriot/ar-game-chooser.c
@@ -248,7 +248,9 @@ ar_game_chooser_constructor (GType type,
content_area = gtk_dialog_get_content_area (dialog);
gtk_box_set_spacing (GTK_BOX (content_area), 2);
+#if !GTK_CHECK_VERSION (2, 90, 7)
gtk_dialog_set_has_separator (dialog, FALSE);
+#endif
gtk_dialog_add_buttons (dialog,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
_("_Select"), GTK_RESPONSE_OK,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]