[gnome-games] aisleriot: GSEAL fixes
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] aisleriot: GSEAL fixes
- Date: Fri, 2 Jul 2010 21:36:16 +0000 (UTC)
commit c6a912df162fa1e0d7be5713fe922905e0866027
Author: Christian Persch <chpe gnome org>
Date: Fri Jul 2 23:35:38 2010 +0200
aisleriot: GSEAL fixes
aisleriot/window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/aisleriot/window.c b/aisleriot/window.c
index da7a884..aeefbe3 100644
--- a/aisleriot/window.c
+++ b/aisleriot/window.c
@@ -831,7 +831,11 @@ debug_choose_seed_cb (GtkAction *action,
g_snprintf (str, sizeof (str), "%u", aisleriot_game_get_seed (priv->game));
entry = gtk_entry_new ();
gtk_entry_set_text (GTK_ENTRY (entry), str);
+#if GTK_CHECK_VERSION (2, 90, 5)
+ gtk_box_pack_end (GTK_BOX (gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog))), entry, FALSE, FALSE, 0);
+#else
gtk_box_pack_end (GTK_BOX (GTK_MESSAGE_DIALOG (dialog)->label->parent), entry, FALSE, FALSE, 0);
+#endif
gtk_widget_show (entry);
g_object_set_data (G_OBJECT (dialog), "entry", entry);
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]