forked from AuroraMiddleware/gtk
widget: ensure boolean before comparing
Ensure boolean value like done elsewhere.
This commit is contained in:
parent
100c6dc513
commit
4b8a91bb85
@ -6146,6 +6146,8 @@ gtk_widget_set_double_buffered (GtkWidget *widget,
|
||||
{
|
||||
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||
|
||||
double_buffered = (double_buffered != FALSE);
|
||||
|
||||
if (double_buffered != gtk_widget_get_double_buffered (widget))
|
||||
{
|
||||
if (double_buffered)
|
||||
|
Loading…
Reference in New Issue
Block a user