Reduced warnings on gcc 4.4.1.

Let panel applet use GLOBALFLAGS.
Check for XKBrules from XKB extension and conditionally compile code using it.
This commit is contained in:
Sanel Zukan
2009-11-20 17:08:29 +00:00
parent 7bb1048773
commit 037196c9be
26 changed files with 103 additions and 53 deletions

View File

@@ -305,7 +305,7 @@ Pixmap create_mask(Fl_Image* img) {
}
char* get_basename(const char* path) {
char* p = strrchr(path, '/');
char* p = (char*)strrchr(path, '/');
if(p)
return (p + 1);