Patch by: Jens Granseuer <jensgr@gmx.net>

2007-01-14  Thomas Wood  <thos@gnome.org>

	Patch by: Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-accessibility-keyboard.c: Remove has_filter variable
	that was never initialised. Fixes bug 382502.

svn path=/trunk/; revision=7137
This commit is contained in:
Thomas Wood 2007-01-14 19:34:27 +00:00 committed by Thomas Wood
parent a77fc4f15c
commit ff60ab1575
2 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2007-01-14 Thomas Wood <thos@gnome.org>
Patch by: Jens Granseuer <jensgr@gmx.net>
* gnome-settings-accessibility-keyboard.c: Remove has_filter variable
that was never initialised. Fixes bug 382502.
2007-01-10 Jan Arne Petersen <jpetersen@jpetersen.org>
Fixes #395083

View file

@ -564,7 +564,6 @@ cb_xkb_event_filter (GdkXEvent *xevent, GdkEvent *ignored1, gpointer ignored2)
void
gnome_settings_accessibility_keyboard_load (GConfClient *client)
{
static gboolean has_filter = FALSE;
guint event_mask = XkbControlsNotifyMask;
#ifdef DEBUG_ACCESSIBILITY
event_mask = XkbControlsNotifyMask | XkbAccessXNotifyMask); /* make default when AXN_AXKWarning works */
@ -575,10 +574,6 @@ gnome_settings_accessibility_keyboard_load (GConfClient *client)
/* be sure to init before starting to monitor the server */
set_server_from_gconf (NULL);
/* be careful not to install multipled filters */
if (has_filter)
return;
gdk_error_trap_push ();
XkbSelectEvents (GDK_DISPLAY (),
XkbUseCoreKbd,