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:
parent
54ed1aef6a
commit
76bf98c618
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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
|
||||||
|
|
||||||
2008-10-26 Jens Granseuer <jensgr@gmx.net>
|
2008-10-26 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
* gnome-keyboard-properties-xkbot.c: (option_focused_cb),
|
* gnome-keyboard-properties-xkbot.c: (option_focused_cb),
|
||||||
|
|
|
@ -400,16 +400,18 @@ chooser_response_cb (GtkDialog * dialog, gint response, gpointer data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create popup dialog*/
|
/* Create popup dialog */
|
||||||
void
|
void
|
||||||
xkb_options_popup_dialog (GladeXML * dialog)
|
xkb_options_popup_dialog (GladeXML * dialog)
|
||||||
{
|
{
|
||||||
|
GtkWidget *chooser;
|
||||||
|
|
||||||
chooser_dialog =
|
chooser_dialog =
|
||||||
glade_xml_new (GNOMECC_GLADE_DIR
|
glade_xml_new (GNOMECC_GLADE_DIR
|
||||||
"/gnome-keyboard-properties.glade",
|
"/gnome-keyboard-properties.glade",
|
||||||
"xkb_options_dialog", NULL);
|
"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_set_transient_for (GTK_WINDOW (chooser),
|
||||||
GTK_WINDOW (WID
|
GTK_WINDOW (WID
|
||||||
("keyboard_dialog")));
|
("keyboard_dialog")));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue