gnome-games r8185 - trunk/aisleriot



Author: chpe
Date: Thu Oct 23 14:22:52 2008
New Revision: 8185
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8185&view=rev

Log:
Multi-head fix.

Modified:
   trunk/aisleriot/clutter-embed.c

Modified: trunk/aisleriot/clutter-embed.c
==============================================================================
--- trunk/aisleriot/clutter-embed.c	(original)
+++ trunk/aisleriot/clutter-embed.c	Thu Oct 23 14:22:52 2008
@@ -140,7 +140,7 @@
 
     /* We need to use the colormap from the Clutter visual */
     xvinfo = clutter_x11_get_stage_visual (CLUTTER_STAGE (priv->stage));
-    visual = gdk_x11_screen_lookup_visual (gdk_screen_get_default (),
+    visual = gdk_x11_screen_lookup_visual (gtk_widget_get_screen (widget),
                                            xvinfo->visualid);
     colormap = gdk_colormap_new (visual, FALSE);
     gtk_widget_set_colormap (widget, colormap);



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