diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-24 09:51:52 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-24 09:51:52 +0100 |
commit | 6ef9c1061ec0bb78bf773f69a50d556ce8e23c01 (patch) | |
tree | a05950f05d2b0b2d1ec4c52cab1fc258cc9e7b1a /src/ui/tile-preview.c | |
parent | 9e61fae901f7c4f3d076cbb71fc1d6c473ba3e4a (diff) | |
download | marco-6ef9c1061ec0bb78bf773f69a50d556ce8e23c01.tar.bz2 marco-6ef9c1061ec0bb78bf773f69a50d556ce8e23c01.tar.xz |
tile-preview: Replace gtk_window_set_visual with gtk_widget_set_visual
Diffstat (limited to 'src/ui/tile-preview.c')
-rw-r--r-- | src/ui/tile-preview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tile-preview.c b/src/ui/tile-preview.c index 75421f30..d994ec52 100644 --- a/src/ui/tile-preview.c +++ b/src/ui/tile-preview.c @@ -174,7 +174,7 @@ meta_tile_preview_new (int screen_number, if (preview->has_alpha) { #if GTK_CHECK_VERSION (3, 0, 0) - 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, rgba_colormap); |