diff -up gnome-applets-2.23.90/gswitchit/gswitchit-applet.c.keyboard-applet-leak gnome-applets-2.23.90/gswitchit/gswitchit-applet.c
--- gnome-applets-2.23.90/gswitchit/gswitchit-applet.c.keyboard-applet-leak 2008-08-29 21:29:30.000000000 -0400
+++ gnome-applets-2.23.90/gswitchit/gswitchit-applet.c 2008-08-29 21:29:34.000000000 -0400
@@ -151,14 +151,17 @@ GSwitchItAppletSetBackground (PanelApple
/* go down */
if (GTK_IS_CONTAINER (w)) {
- GList *child =
+ GList *child;
+ GList *children =
gtk_container_get_children (GTK_CONTAINER (w));
+ child = children;
while (child != NULL) {
GSwitchItAppletSetBackground (applet,
GTK_WIDGET (child->
data));
child = child->next;
}
+ g_list_free (children);
}
}