summaryrefslogtreecommitdiff
path: root/libmate-desktop
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-05-04 15:13:34 +0200
committerStefano Karapetsas <[email protected]>2014-05-05 21:17:19 +0200
commit70a0c60a8fbb2d2a106be3e50bf6e98dfbc0e19c (patch)
treef8dd5edffa9e1d9f4b460c051ed22d681ebc4b56 /libmate-desktop
parent7cd9606673f684960d1ff59839133ebfa4b4882a (diff)
downloadmate-desktop-70a0c60a8fbb2d2a106be3e50bf6e98dfbc0e19c.tar.bz2
mate-desktop-70a0c60a8fbb2d2a106be3e50bf6e98dfbc0e19c.tar.xz
Fix unused var warning
Diffstat (limited to 'libmate-desktop')
-rw-r--r--libmate-desktop/mate-bg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmate-desktop/mate-bg.c b/libmate-desktop/mate-bg.c
index 83efcd3..ffd5753 100644
--- a/libmate-desktop/mate-bg.c
+++ b/libmate-desktop/mate-bg.c
@@ -2639,14 +2639,14 @@ pixbuf_draw_gradient (GdkPixbuf *pixbuf,
int height;
int rowstride;
guchar *dst;
- guchar *dst_limit;
+ //guchar *dst_limit;
int n_channels = 3;
rowstride = gdk_pixbuf_get_rowstride (pixbuf);
width = rect->width;
height = rect->height;
dst = gdk_pixbuf_get_pixels (pixbuf) + rect->x * n_channels + rowstride * rect->y;
- dst_limit = dst + height * rowstride;
+ //dst_limit = dst + height * rowstride;
if (horizontal) {
guchar *gradient = create_gradient (primary, secondary, width);