Initialize the other fields of this data structure

2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c (apply_settings): Initialize the other
	fields of this data structure
This commit is contained in:
Bradford Hovinen 2001-07-26 20:36:30 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent ed568135a0
commit b9b13ebbbc
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* keyboard-properties.c (apply_settings): Initialize the other
fields of this data structure
* Makefile.am (bonobo_sources): Remove bonobo-property-editor-range.[ch]
2001-07-25 Chema Celorio <chema@celorio.com>

View file

@ -67,8 +67,10 @@ apply_settings (Bonobo_ConfigDatabase db)
&event_base_return,
&error_base_return) == True)
{
kbdsettings.type = 0;
kbdsettings.rate = rate;
kbdsettings.delay = delay;
kbdsettings.servnumlock = False;
XF86MiscSetKbdSettings (GDK_DISPLAY (), &kbdsettings);
} else {
XAutoRepeatOff (GDK_DISPLAY ());