gnome-applets r10809 - trunk/gswitchit
- From: callum svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r10809 - trunk/gswitchit
- Date: Thu, 24 Apr 2008 22:50:29 +0100 (BST)
Author: callum
Date: Thu Apr 24 21:50:28 2008
New Revision: 10809
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=10809&view=rev
Log:
C89 fix for the gswitchit applet
Modified:
trunk/gswitchit/ChangeLog
trunk/gswitchit/gswitchit-applet.c
Modified: trunk/gswitchit/gswitchit-applet.c
==============================================================================
--- trunk/gswitchit/gswitchit-applet.c (original)
+++ trunk/gswitchit/gswitchit-applet.c Thu Apr 24 21:50:28 2008
@@ -297,6 +297,7 @@
XkbComponentNamesRec componentNames;
XklConfigRec *xklData;
GdkRectangle *rect;
+ GError *error = NULL;
#endif
XklEngine *engine = gkbd_indicator_get_xkl_engine ();
XklState *xklState = xkl_engine_get_current_state (engine);
@@ -310,8 +311,6 @@
return;
}
#ifdef HAVE_XKB
- GError *error = NULL;
-
builder = gtk_builder_new ();
gtk_builder_add_from_file (builder, GTK_BUILDERDIR "/gswitchit.ui",
&error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]