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:
parent
1123fca3f2
commit
ff04e38326
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue