Commit 5f64a707 authored by Christian Persch's avatar Christian Persch
Browse files

Use gtk_widget_set_visual

parent 8d71032c
......@@ -795,7 +795,7 @@ main(int argc, char **argv)
#if GTK_CHECK_VERSION (2, 90, 8)
visual = gdk_screen_get_rgba_visual(screen);
if (visual)
gtk_window_set_visual(GTK_WINDOW(window), visual);
gtk_widget_set_visual(GTK_WIDGET(window), visual);
colormap = gdk_screen_get_rgba_colormap (screen);
if (colormap)
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