[gnome-games] gnobots2: Port to new combo box text API
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnobots2: Port to new combo box text API
- Date: Wed, 20 Oct 2010 12:31:31 +0000 (UTC)
commit 1f51afb1222af622adb5da0b3f164e56399aa2d3
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Oct 20 14:28:23 2010 +0200
gnobots2: Port to new combo box text API
gnobots2/properties.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnobots2/properties.c b/gnobots2/properties.c
index 0d0b347..a4dce40 100644
--- a/gnobots2/properties.c
+++ b/gnobots2/properties.c
@@ -327,7 +327,7 @@ fill_typemenu (GtkWidget * menu)
for (i = 0; i < num_game_configs (); ++i) {
config = game_config_name (i);
- gtk_combo_box_append_text (GTK_COMBO_BOX (menu), _(config));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (menu), _(config));
g_free (config);
}
@@ -452,7 +452,7 @@ show_properties_dialog (void)
hbox = gtk_hbox_new (TRUE, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
- typemenu = gtk_combo_box_new_text ();
+ typemenu = gtk_combo_box_text_new ();
g_signal_connect (G_OBJECT (typemenu), "changed",
G_CALLBACK (type_selection), NULL);
fill_typemenu (typemenu);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]