[mutter] Replace gtk_window_set_visual() with gtk_widget_set_visual()



commit ff04e383261330395a2e53fb4060ef26f9fa010c
Author: Alban Browaeys <prahal yahoo com>
Date:   Tue Sep 28 21:12:22 2010 +0200

    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

 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 bb2ad99..b2ba4f2 100644
--- a/src/ui/tile-preview.c
+++ b/src/ui/tile-preview.c
@@ -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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]