2006-01-03  Jaap A. Haitsma <jaap@haitsma.org>

	Fixes bug #321549

	* gnome-keyboard-properties.c (create_dialog): don't leak
	GtkSizeGroup's.
This commit is contained in:
Jaap A. Haitsma 2006-01-03 09:57:53 +00:00 committed by Rodrigo Moya
parent be790b919d
commit 1dc263e13f
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2006-01-03 Jaap A. Haitsma <jaap@haitsma.org>
Fixes bug #321549
* gnome-keyboard-properties.c (create_dialog): don't leak
GtkSizeGroup's.
2005-11-14 Kjartan Maraas <kmaraas@gnome.org>
* gnome-keyboard-properties.c: (setup_dialog): Remove unused

View file

@ -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;
}