summaryrefslogtreecommitdiffstats
path: root/x11/gswitchit/files/patch-applet::gswitchit_applet.c
blob: 4121f4ae15981674fe8d787e93f2915316b1939a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- applet/gswitchit_applet.c.orig	Thu Oct 23 03:06:04 2003
+++ applet/gswitchit_applet.c	Thu Oct 23 03:08:53 2003
@@ -520,11 +520,12 @@
   unsigned i, nGroups;
   char *pname;
   BonoboUIComponent *popup;
+  GSList *layout;
   popup = panel_applet_get_popup_component( PANEL_APPLET( sia->applet ) );
   XklDebug( 160, "Registered group submenu\n" );
   nGroups = XklGetNumGroups(  );
   pname = ( char * ) sia->groupNames;
-  GSList *layout = sia->xkbConfig.layouts;
+  layout = sia->xkbConfig.layouts;
   for( i = 0; i < nGroups; i++ )
   {
     char verb[40];
OpenPOWER on IntegriCloud