[gnome-games] gnect: Port to new combo box text API
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnect: Port to new combo box text API
- Date: Wed, 20 Oct 2010 12:31:16 +0000 (UTC)
commit 6a6eb705cf4e03f6175733c90d5984fcaa46b7a7
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Oct 20 14:27:52 2010 +0200
gnect: Port to new combo box text API
gnect/src/prefs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnect/src/prefs.c b/gnect/src/prefs.c
index 5765d39..5cb766c 100644
--- a/gnect/src/prefs.c
+++ b/gnect/src/prefs.c
@@ -345,10 +345,10 @@ prefsbox_open (void)
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_misc_set_alignment (GTK_MISC (label), 7.45058e-09, 0.5);
- combobox_theme = gtk_combo_box_new_text ();
+ combobox_theme = gtk_combo_box_text_new ();
for (i = 0; i < n_themes; i++) {
- gtk_combo_box_append_text (GTK_COMBO_BOX (combobox_theme),
- _(theme_get_title (i)));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combobox_theme),
+ _(theme_get_title (i)));
}
gtk_box_pack_start (GTK_BOX (hbox), combobox_theme, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]