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

Fix gtk_widget_is_sensitive() function

The bug was introduced in
commit a27d5a2c
parent ec20658b
......@@ -6301,7 +6301,8 @@ gtk_widget_is_sensitive (GtkWidget *widget)
g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
return gtk_widget_is_sensitive (widget);
return (gtk_widget_get_sensitive (widget) &&
gtk_widget_get_sensitive (widget->parent));
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