summaryrefslogtreecommitdiff
path: root/openbox/prop.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-14 17:06:32 +0000
committerDana Jansens <danakj@orodu.net>2003-04-14 17:06:32 +0000
commit3809fb37a5ccc1796cf0a2fdb5c87d3233adc687 (patch)
tree511dcd183bd740d80a76be267c5ee6c107d0e37d /openbox/prop.h
parent99fd65baf0b14356812ddc6881fd3fe2b996bd3b (diff)
do not commit bad char* foo that breaks on !32 bit platforms
Diffstat (limited to 'openbox/prop.h')
-rw-r--r--openbox/prop.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/openbox/prop.h b/openbox/prop.h
index c2de3b20..7899507f 100644
--- a/openbox/prop.h
+++ b/openbox/prop.h
@@ -139,8 +139,8 @@ Atoms prop_atoms;
void prop_startup();
-gboolean prop_get(Window win, Atom prop, Atom type, int size,
- guchar **data, gulong num);
+gboolean prop_get32(Window win, Atom prop, Atom type,
+ gulong **data, gulong num);
gboolean prop_get_prealloc(Window win, Atom prop, Atom type, int size,
guchar *data, gulong num);
@@ -201,8 +201,7 @@ void prop_message(Window about, Atom messagetype, long data0, long data1,
/* Get an amount of a 32-bit property into an array (which must be freed) */
#define PROP_GET32A(win, prop, type, value, num) \
- (prop_get(win, prop_atoms.prop, prop_atoms.type, 32, \
- (guchar**)&value, num))
+ (prop_get32(win, prop_atoms.prop, prop_atoms.type, (gulong**)&value, num))
/* Get an entire 32-bit property into an array (which must be freed) */
#define PROP_GET32U(win, prop, type, value, num) \