Commit 2dc372a6 authored by Javier Jardón's avatar Javier Jardón Committed by Tristan Van Berkom
Browse files

Fix gtk_widget_is_sensitive() function. Second try

Use GTK_PARENT_SENSITIVE flag instead
gtk_widget_get_sensitive(widget->parent)
parent 6d8fee98
......@@ -6302,7 +6302,7 @@ gtk_widget_is_sensitive (GtkWidget *widget)
g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
return (gtk_widget_get_sensitive (widget) &&
gtk_widget_get_sensitive (widget->parent));
(GTK_OBJECT_FLAGS (widget) & GTK_PARENT_SENSITIVE) != 0);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment