[anjuta] class-gen: bgo #654124 - Vala: add class wizard creates file twice (miss one line in previous patch)
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] class-gen: bgo #654124 - Vala: add class wizard creates file twice (miss one line in previous patch)
- Date: Sat, 9 Jul 2011 10:09:04 +0000 (UTC)
commit 8cf03e83606e725da14a1ca448f7271dc5fa0724
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Sat Jul 9 12:08:45 2011 +0200
class-gen: bgo #654124 - Vala: add class wizard creates file twice (miss one line in previous patch)
plugins/class-gen/window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/class-gen/window.c b/plugins/class-gen/window.c
index e91ddb4..542c8e2 100644
--- a/plugins/class-gen/window.c
+++ b/plugins/class-gen/window.c
@@ -1532,7 +1532,7 @@ cg_window_get_header_file(CgWindow *window)
entry = GTK_ENTRY (gtk_builder_get_object (priv->bxml, "header_file"));
g_return_val_if_fail (GTK_IS_ENTRY (entry), NULL);
- return gtk_widget_get_visible (GTK_WIDGET (entry)) == TRUE ? gtk_entry_get_text (entry) : NULL;
+ return gtk_widget_get_sensitive (GTK_WIDGET (entry)) == TRUE ? gtk_entry_get_text (entry) : NULL;
}
const gchar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]