[anjuta] build-basic-autotools: Fixed another GtkComboBox(Text) issue
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] build-basic-autotools: Fixed another GtkComboBox(Text) issue
- Date: Wed, 15 Dec 2010 14:07:10 +0000 (UTC)
commit 75acb1471e1fc8674783c0c5427eac58c84d4817
Author: Johannes Schmid <jhs gnome org>
Date: Wed Dec 15 12:22:26 2010 +0100
build-basic-autotools: Fixed another GtkComboBox(Text) issue
plugins/build-basic-autotools/build-options.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/build-basic-autotools/build-options.c b/plugins/build-basic-autotools/build-options.c
index 447b260..5c6b213 100644
--- a/plugins/build-basic-autotools/build-options.c
+++ b/plugins/build-basic-autotools/build-options.c
@@ -351,7 +351,8 @@ build_dialog_configure (GtkWindow* parent, const gchar *project_root_uri, BuildC
}
else
{
- name = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (dlg.combo));
+ GtkWidget* entry = gtk_bin_get_child (GTK_BIN (dlg.combo));
+ name = g_strdup (gtk_entry_get_text (GTK_ENTRY (entry)));
}
cfg = build_configuration_list_create (config_list, name);
g_free (name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]