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

@@ -57,7 +57,7 @@ bool time_changed, format_changed, tz_changed, date_changed;
// config file for workpanel (time format)
edelib::Config config_file;
char* zonetab_dir = 0;
const char* zonetab_dir = 0;
// Time servers - all in one string, so that translators can easily add new servers
const char* time_servers = _("International (pool.ntp.org)\nEurope (europe.pool.ntp.org)\nAsia (asia.pool.ntp.org)\nNorth America (north-america.pool.ntp.org)\nAustralia and Oceania (oceania.pool.ntp.org)");

View File

@@ -1,5 +1,5 @@
/* XPM */
const char *world[] = {
static const char *world[] = {
"356 184 3 1",
". c #000078",
"# c #007800",

View File

@@ -1,5 +1,5 @@
/* XPM */
static char * world2_xpm[] = {
static const char *world2_xpm[] = {
"395 170 3 1",
" c None",
". c #00017A",