From af49752378ed796834928cd15ad25a51f68e0a38 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 25 Jul 2010 11:04:03 +0200 Subject: [PATCH] Bugfix on GtkForm::is_changed (it considered also field not to save). --- src/form.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/form.c b/src/form.c index c3fed8e..ef59ed4 100644 --- a/src/form.c +++ b/src/form.c @@ -1258,8 +1258,11 @@ gtk_form_is_changed (GtkForm *form) { field = (GtkFormField *)fields->data; - ret = gtk_form_field_is_changed (field); - if (ret) break; + if (gtk_form_field_is_to_save (field)) + { + ret = gtk_form_field_is_changed (field); + if (ret) break; + } fields = g_slist_next (fields); } -- 2.49.0