[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kcontrol/keyboard
From:       Andriy Rysin <arysin () gmail ! com>
Date:       2010-09-17 3:58:26
Message-ID: 20100917035826.D481BAC88E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1176227 by rysin:

code cleanup

 M  +5 -0      numlockx.c  


--- trunk/KDE/kdebase/workspace/kcontrol/keyboard/numlockx.c #1176226:1176227
@@ -119,6 +119,7 @@
     return 1;
     }
 
+#ifdef NUMLOCKX_STANDALONE
 static
 int xkb_toggle()
     {
@@ -138,6 +139,7 @@
         XkbLockModifiers ( dpy, XkbUseCoreKbd, mask, mask);
     return 1;
     }
+#endif
 
 #endif
 
@@ -188,6 +190,7 @@
         xtest_change_numlock();
     }
 
+#ifdef NUMLOCKX_STANDALONE
 static
 void xtest_toggle()
     {
@@ -195,6 +198,8 @@
     }
 #endif
 
+#endif
+
 static
 void numlock_set_on()
     {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic