[gnome-games] aisleriot: Fix the build with gtk3
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] aisleriot: Fix the build with gtk3
- Date: Thu, 2 Sep 2010 16:25:12 +0000 (UTC)
commit 9ba60424ffae40d9656dc0ec3215f78d37653519
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]