[gnome-games] aisleriot: Only set content area border on non-maemo5



commit 113d7858d171561e676845515a5dddaaf3ac5aeb
Author: Christian Persch <chpe gnome org>
Date:   Tue Dec 1 23:48:22 2009 +0100

    aisleriot: Only set content area border on non-maemo5

 aisleriot/ar-game-chooser.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/aisleriot/ar-game-chooser.c b/aisleriot/ar-game-chooser.c
index 4cfa18a..2dda782 100644
--- a/aisleriot/ar-game-chooser.c
+++ b/aisleriot/ar-game-chooser.c
@@ -273,11 +273,10 @@ ar_game_chooser_constructor (GType type,
                                         0, GTK_SORT_ASCENDING);
 
   hbox = gtk_hbox_new (FALSE, 12);
-  gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);
-
 #ifdef HAVE_MAEMO_5
   gtk_container_add (GTK_CONTAINER (window), hbox);
 #else
+  gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);
   gtk_box_pack_start (GTK_BOX (content_area), hbox, TRUE, TRUE, 0);
 #endif
 



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