Commit 5ff724ea authored by Stefan Kost's avatar Stefan Kost

widget: ensure boolean before comparing

Ensure boolean value like done elsewhere.
parent ad93f2bc
......@@ -6131,6 +6131,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)
......
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