[gimp/gtk3-port: 221/246] plug-ins: port file-gih to GtkComboBoxText
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 221/246] plug-ins: port file-gih to GtkComboBoxText
- Date: Sun, 27 Feb 2011 16:03:20 +0000 (UTC)
commit 1f602a0316cd1bea9264db67ed7b2b0916a03a3e
Author: Michael Natterer <mitch gimp org>
Date: Sun Feb 6 13:57:51 2011 +0100
plug-ins: port file-gih to GtkComboBoxText
plug-ins/common/file-gih.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c
index 0ac2051..e8eef9d 100644
--- a/plug-ins/common/file-gih.c
+++ b/plug-ins/common/file-gih.c
@@ -1060,10 +1060,11 @@ gih_save_dialog (gint32 image_ID)
cellw_adjust.rank0 = cellh_adjust.rank0 = NULL;
}
- cb = gtk_combo_box_new_text ();
+ cb = gtk_combo_box_text_new ();
for (j = 0; j < G_N_ELEMENTS (selection_modes); j++)
- gtk_combo_box_append_text (GTK_COMBO_BOX (cb), selection_modes[j]);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (cb),
+ selection_modes[j]);
gtk_combo_box_set_active (GTK_COMBO_BOX (cb), 2); /* random */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]