[aisleriot/wip/redesign: 15/17] all: Fix deprecation warnings
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot/wip/redesign: 15/17] all: Fix deprecation warnings
- Date: Wed, 3 Jul 2013 17:54:36 +0000 (UTC)
commit 604c08d0919e92d5d4dfef3d090f76714ec3b733
Author: Christian Persch <chpe gnome org>
Date: Wed Jul 3 19:40:54 2013 +0200
all: Fix deprecation warnings
src/ar-game-chooser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ar-game-chooser.c b/src/ar-game-chooser.c
index 4fea5a1..d31bcd8 100644
--- a/src/ar-game-chooser.c
+++ b/src/ar-game-chooser.c
@@ -328,7 +328,7 @@ ar_game_chooser_constructor (GType type,
gtk_box_set_spacing (GTK_BOX (content_area), 2);
gtk_dialog_add_buttons (dialog,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
_("_Select"), GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_alternative_button_order (dialog,
@@ -353,7 +353,7 @@ ar_game_chooser_constructor (GType type,
0, (GtkTreeIterCompareFunc)sort_func,
NULL, NULL);
- hbox = gtk_hbox_new (FALSE, 12);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);
gtk_box_pack_start (GTK_BOX (content_area), hbox, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]