diff options
author | Stefano Karapetsas <[email protected]> | 2012-11-19 02:04:18 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-11-19 02:04:18 -0800 |
commit | 4f79502e2c626d037b380f451c16ce1135ea3623 (patch) | |
tree | 31c1ebf3bda44cd1f8c5fb27de356caf3037567f /maximus/xutils.c | |
parent | 98be82c4742bf3a5be20d07d70b1a81beadda4f5 (diff) | |
parent | 879bd3789e84f31d90cf1b46a2985c6e78685609 (diff) | |
download | mate-netbook-4f79502e2c626d037b380f451c16ce1135ea3623.tar.bz2 mate-netbook-4f79502e2c626d037b380f451c16ce1135ea3623.tar.xz |
Merge pull request #1 from sbalneav/mastermate-netbook-1.5.0
Fixed deprecation, compile error & warnings.
Diffstat (limited to 'maximus/xutils.c')
-rw-r--r-- | maximus/xutils.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/maximus/xutils.c b/maximus/xutils.c index f131f81..4e79569 100644 --- a/maximus/xutils.c +++ b/maximus/xutils.c @@ -27,6 +27,12 @@ #include <stdio.h> #include <libmatewnck/libmatewnck.h> +#ifdef __GNUC__ +#define UNUSED_VARIABLE __attribute__ ((unused)) +#else +#define UNUSED_VARIABLE +#endif + void _matewnck_error_trap_push (void) { @@ -64,7 +70,7 @@ _matewnck_get_wmclass (Window xwindow, char **res_name) { XClassHint ch; - char *retval; + char UNUSED_VARIABLE *retval; _matewnck_error_trap_push (); |