gnome-control-center r9121 - trunk/capplets/keyboard



Author: jensg
Date: Sun Oct 26 13:47:11 2008
New Revision: 9121
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9121&view=rev

Log:
2008-10-26  Jens Granseuer  <jensgr gmx net>

	* gnome-keyboard-properties-xkbot.c: (xkb_options_popup_dialog):
	declare variable at beginning of code block, fixes build with gcc 2.x


Modified:
   trunk/capplets/keyboard/ChangeLog
   trunk/capplets/keyboard/gnome-keyboard-properties-xkbot.c

Modified: trunk/capplets/keyboard/gnome-keyboard-properties-xkbot.c
==============================================================================
--- trunk/capplets/keyboard/gnome-keyboard-properties-xkbot.c	(original)
+++ trunk/capplets/keyboard/gnome-keyboard-properties-xkbot.c	Sun Oct 26 13:47:11 2008
@@ -400,16 +400,18 @@
 	}
 }
 
-/* Create popup dialog*/
+/* Create popup dialog */
 void
 xkb_options_popup_dialog (GladeXML * dialog)
 {
+	GtkWidget *chooser;
+
 	chooser_dialog =
 	    glade_xml_new (GNOMECC_GLADE_DIR
 			   "/gnome-keyboard-properties.glade",
 			   "xkb_options_dialog", NULL);
-	GtkWidget *chooser = CWID ("xkb_options_dialog");
 
+	chooser = CWID ("xkb_options_dialog");
 	gtk_window_set_transient_for (GTK_WINDOW (chooser),
 				      GTK_WINDOW (WID
 						  ("keyboard_dialog")));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]