From: Andrea Zagli Date: Sun, 25 Jul 2010 09:04:03 +0000 (+0200) Subject: Bugfix on GtkForm::is_changed (it considered also field not to save). X-Git-Tag: 0.1.4~6 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=af49752378ed796834928cd15ad25a51f68e0a38;p=libgtkform Bugfix on GtkForm::is_changed (it considered also field not to save). --- 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); }