mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Fix gtk_widget_is_sensitive() function
The bug was introduced in
commit a27d5a2c9e
This commit is contained in:
parent
e8e95d4c5e
commit
f8fb228752
@ -6286,7 +6286,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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user