[gnome-session] [gsm] Fix a GSeal issue



commit ec867487f2d3ae90f23ddb40b26c117114fb2a69
Author: Vincent Untz <vuntz gnome org>
Date:   Fri Jul 2 12:04:17 2010 +0200

    [gsm] Fix a GSeal issue

 gnome-session/gsm-inhibit-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/gsm-inhibit-dialog.c b/gnome-session/gsm-inhibit-dialog.c
index da59ab0..4fe8d52 100644
--- a/gnome-session/gsm-inhibit-dialog.c
+++ b/gnome-session/gsm-inhibit-dialog.c
@@ -341,7 +341,7 @@ get_cmap (GdkPixmap *pixmap)
 
         /* Be sure we aren't going to blow up due to visual mismatch */
         if (cmap &&
-            (gdk_colormap_get_visual (cmap)->depth !=
+            (gdk_visual_get_depth (gdk_colormap_get_visual (cmap)) !=
              gdk_drawable_get_depth (pixmap))) {
                 cmap = NULL;
                 g_debug ("Switching back to NULL cmap because of depth mismatch\n");



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