summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-09-02 19:51:35 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-09-02 19:51:35 -0300
commit679253ba5b7eaa7f1871b7b7ae966ef52c3cfba9 (patch)
tree84ce1b51a95e4128aeb932df8cb6816ba50713c3
parenta040214023fc380a0b2352306ac9b3da5aa783e0 (diff)
downloadglade-679253ba5b7eaa7f1871b7b7ae966ef52c3cfba9.tar.gz
GladeProject: ignore insentitive properties
Ignore insensitive properties for project verification. Fix issue #385 "GtkCellRendererText causes deprecated warnings for ghost properties"
-rw-r--r--gladeui/glade-property.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gladeui/glade-property.c b/gladeui/glade-property.c
index fbdb684c..746c1a44 100644
--- a/gladeui/glade-property.c
+++ b/gladeui/glade-property.c
@@ -298,7 +298,7 @@ glade_property_fix_state (GladeProperty *property)
if (glade_property_get_enabled (property))
property->priv->state |= GLADE_STATE_CHANGED;
}
- else if (!glade_property_original_default (property))
+ else if (property->priv->sensitive && !glade_property_original_default (property))
property->priv->state |= GLADE_STATE_CHANGED;
if (property->priv->support_warning)