summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-03 06:24:47 +0200
committerJasmine Hassan <[email protected]>2012-12-03 06:24:47 +0200
commiteff871eb46d1b0b7578f8fd9f5e31c932437cb3b (patch)
treec92f1b88a86487abed65974131eaa15735d94990
parent75003d6304a61488a1737733c423fd120e4bbb48 (diff)
downloadmate-settings-daemon-eff871eb46d1b0b7578f8fd9f5e31c932437cb3b.tar.bz2
mate-settings-daemon-eff871eb46d1b0b7578f8fd9f5e31c932437cb3b.tar.xz
[background] fix XGetWindowProperty long_length & nitems_return params
from 24 -> 20, to account for 'nautilus' -> 'caja' change (4 bytes less).
-rw-r--r--plugins/background/msd-background-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/background/msd-background-manager.c b/plugins/background/msd-background-manager.c
index b347c53..033f8a3 100644
--- a/plugins/background/msd-background-manager.c
+++ b/plugins/background/msd-background-manager.c
@@ -165,7 +165,7 @@ caja_is_drawing_background (MsdBackgroundManager *manager)
caja_xid,
wmclass_atom,
0,
- 24,
+ 20,
False,
XA_STRING,
&actual_type,
@@ -182,7 +182,7 @@ caja_is_drawing_background (MsdBackgroundManager *manager)
}
if (actual_type == XA_STRING &&
- nitems == 24 &&
+ nitems == 20 &&
bytes_after == 0 &&
actual_format == 8 &&
data != NULL &&