diff --git a/capplets/keyboard/gnome-keyboard-properties-xkb.c b/capplets/keyboard/gnome-keyboard-properties-xkb.c index 1426efccb..9704330dc 100644 --- a/capplets/keyboard/gnome-keyboard-properties-xkb.c +++ b/capplets/keyboard/gnome-keyboard-properties-xkb.c @@ -233,8 +233,6 @@ enable_disable_restoring (GladeXML * dialog) GConfClient *confClient = gconf_client_get_default (); gboolean enable; - memset (&gswic, 0, sizeof (gswic)); - GSwitchItXkbConfigInit (&gswic, confClient); g_object_unref (confClient); GSwitchItXkbConfigLoad (&gswic); diff --git a/gnome-settings-daemon/gnome-settings-keyboard-xkb.c b/gnome-settings-daemon/gnome-settings-keyboard-xkb.c index 4858e9569..56cc81925 100644 --- a/gnome-settings-daemon/gnome-settings-keyboard-xkb.c +++ b/gnome-settings-daemon/gnome-settings-keyboard-xkb.c @@ -81,8 +81,6 @@ apply_settings (void) if (!initedOk) return; - memset (&gswic, 0, sizeof (gswic)); - confClient = gconf_client_get_default (); GSwitchItXkbConfigInit (&gswic, confClient); g_object_unref (confClient);