summaryrefslogtreecommitdiff
path: root/mate-session/gsm-inhibit-dialog.c
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2012-11-13 21:44:26 -0600
committerScott Balneaves <[email protected]>2012-11-13 21:44:26 -0600
commitdee0e9ab8f63d1b022a7ac011a921db48acc1cd7 (patch)
treef96d65ab4c9c2bbd8040e62f77a0bb9bc6ad9c74 /mate-session/gsm-inhibit-dialog.c
parent933f891732a533179682015e1d194a40293f6c9b (diff)
downloadmate-session-manager-dee0e9ab8f63d1b022a7ac011a921db48acc1cd7.tar.bz2
mate-session-manager-dee0e9ab8f63d1b022a7ac011a921db48acc1cd7.tar.xz
Fix all compile warnings.
Diffstat (limited to 'mate-session/gsm-inhibit-dialog.c')
-rw-r--r--mate-session/gsm-inhibit-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-session/gsm-inhibit-dialog.c b/mate-session/gsm-inhibit-dialog.c
index 047524f..3d4e85c 100644
--- a/mate-session/gsm-inhibit-dialog.c
+++ b/mate-session/gsm-inhibit-dialog.c
@@ -401,8 +401,10 @@ get_pixmap_for_window (Window window)
Picture src_picture;
Picture dst_picture;
gboolean has_alpha;
+#if 0
int x;
int y;
+#endif
int width;
int height;
@@ -410,8 +412,10 @@ get_pixmap_for_window (Window window)
format = XRenderFindVisualFormat (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), attr.visual);
has_alpha = (format->type == PictTypeDirect && format->direct.alphaMask);
+#if 0
x = attr.x;
y = attr.y;
+#endif
width = attr.width;
height = attr.height;