From 4f7e3e12fe2427f4cb5aa3cfd68bdc8662672f08 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 24 Nov 2020 18:19:40 +0100 Subject: mate-keyboard-properties: size groups on ui file --- capplets/keyboard/mate-keyboard-properties.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'capplets/keyboard/mate-keyboard-properties.c') diff --git a/capplets/keyboard/mate-keyboard-properties.c b/capplets/keyboard/mate-keyboard-properties.c index b17421cf..22f6fa80 100644 --- a/capplets/keyboard/mate-keyboard-properties.c +++ b/capplets/keyboard/mate-keyboard-properties.c @@ -54,7 +54,6 @@ static GtkBuilder * create_dialog (void) { GtkBuilder *dialog; - GtkSizeGroup *size_group; GError *error = NULL; dialog = gtk_builder_new (); @@ -65,24 +64,6 @@ create_dialog (void) return NULL; } - size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); - 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; } -- cgit v1.2.1