diff --git a/capplets/keyboard/ChangeLog b/capplets/keyboard/ChangeLog index 42f1bc6b2..2bfec5d58 100644 --- a/capplets/keyboard/ChangeLog +++ b/capplets/keyboard/ChangeLog @@ -1,3 +1,10 @@ +2006-01-03 Jaap A. Haitsma + + Fixes bug #321549 + + * gnome-keyboard-properties.c (create_dialog): don't leak + GtkSizeGroup's. + 2005-11-14 Kjartan Maraas * gnome-keyboard-properties.c: (setup_dialog): Remove unused diff --git a/capplets/keyboard/gnome-keyboard-properties.c b/capplets/keyboard/gnome-keyboard-properties.c index f278dc6cf..6597f15f2 100644 --- a/capplets/keyboard/gnome-keyboard-properties.c +++ b/capplets/keyboard/gnome-keyboard-properties.c @@ -58,16 +58,19 @@ create_dialog (void) gtk_size_group_add_widget (size_group, WID ("repeat_slow_label")); gtk_size_group_add_widget (size_group, WID ("delay_short_label")); gtk_size_group_add_widget (size_group, WID ("blink_slow_label")); + g_object_unref (G_OBJECT (size_group)); size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); gtk_size_group_add_widget (size_group, WID ("repeat_fast_label")); gtk_size_group_add_widget (size_group, WID ("delay_long_label")); gtk_size_group_add_widget (size_group, WID ("blink_fast_label")); + g_object_unref (G_OBJECT (size_group)); size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); gtk_size_group_add_widget (size_group, WID ("repeat_delay_scale")); gtk_size_group_add_widget (size_group, WID ("repeat_speed_scale")); gtk_size_group_add_widget (size_group, WID ("cursor_blink_time_scale")); + g_object_unref (G_OBJECT (size_group)); return dialog; }