Commit bf81be51 authored by Benjamin Otte's avatar Benjamin Otte

testgtk: Use gtk_widget_set_visual()

parent 32c80ca6
......@@ -261,7 +261,7 @@ on_alpha_screen_changed (GtkWindow *window,
gtk_label_set_markup (GTK_LABEL (label), "<b>Screen supports alpha</b>");
}
gtk_window_set_visual (window, visual);
gtk_widget_set_visual (GTK_WIDGET (window), visual);
}
static void
......
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