summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-24 09:51:52 +0100
committerStefano Karapetsas <[email protected]>2014-01-24 09:51:52 +0100
commit6ef9c1061ec0bb78bf773f69a50d556ce8e23c01 (patch)
treea05950f05d2b0b2d1ec4c52cab1fc258cc9e7b1a
parent9e61fae901f7c4f3d076cbb71fc1d6c473ba3e4a (diff)
downloadmarco-6ef9c1061ec0bb78bf773f69a50d556ce8e23c01.tar.bz2
marco-6ef9c1061ec0bb78bf773f69a50d556ce8e23c01.tar.xz
tile-preview: Replace gtk_window_set_visual with gtk_widget_set_visual
-rw-r--r--src/ui/tile-preview.c2
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);