summaryrefslogtreecommitdiff
path: root/mate-session/gsm-inhibit-dialog.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-14 02:15:43 -0800
committerStefano Karapetsas <[email protected]>2012-11-14 02:15:43 -0800
commit6b16710b19e25ddb05f5b99f48cd4bf03d46e56a (patch)
treef96d65ab4c9c2bbd8040e62f77a0bb9bc6ad9c74 /mate-session/gsm-inhibit-dialog.c
parent933f891732a533179682015e1d194a40293f6c9b (diff)
parentdee0e9ab8f63d1b022a7ac011a921db48acc1cd7 (diff)
downloadmate-session-manager-6b16710b19e25ddb05f5b99f48cd4bf03d46e56a.tar.bz2
mate-session-manager-6b16710b19e25ddb05f5b99f48cd4bf03d46e56a.tar.xz
Merge pull request #11 from sbalneav/master
All warnings fixed. Clean compile.
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;