declare variable at beginning of code block, fixes build with gcc 2.x

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

svn path=/trunk/; revision=9121
This commit is contained in:
Jens Granseuer 2008-10-26 13:47:11 +00:00 committed by Jens Granseuer
parent 54ed1aef6a
commit 76bf98c618
2 changed files with 9 additions and 2 deletions

View file

@ -400,16 +400,18 @@ chooser_response_cb (GtkDialog * dialog, gint response, gpointer data)
}
}
/* 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")));