1
0
Fork 0

Replace gtk_window_set_visual() with gtk_widget_set_visual()

gtk_window_set_visual() was changed back to work on a widget level
for more compatibility with 2.x.

https://bugzilla.gnome.org/show_bug.cgi?id=630843
This commit is contained in:
Alban Browaeys 2010-09-28 21:12:22 +02:00 committed by Owen W. Taylor
parent 1123fca3f2
commit ff04e38326

View file

@ -165,7 +165,7 @@ meta_tile_preview_new (int screen_number,
if (preview->has_alpha)
{
#ifdef USE_GTK3
gtk_window_set_visual (GTK_WINDOW (preview->preview_window),
gtk_widget_set_visual (preview->preview_window,
gdk_screen_get_rgba_visual (screen));
#else
gtk_widget_set_colormap (preview->preview_window,