From 24c93c5aae6c939760bc903a5bd73267b3b43d92 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 24 Nov 2020 18:13:19 +0100 Subject: mate-keyboard-properties: Do not use stock icons on ui file --- capplets/keyboard/mate-keyboard-properties.c | 7 ------- 1 file changed, 7 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 cf2ef62f..b17421cf 100644 --- a/capplets/keyboard/mate-keyboard-properties.c +++ b/capplets/keyboard/mate-keyboard-properties.c @@ -55,7 +55,6 @@ create_dialog (void) { GtkBuilder *dialog; GtkSizeGroup *size_group; - GtkWidget *image; GError *error = NULL; dialog = gtk_builder_new (); @@ -84,12 +83,6 @@ create_dialog (void) gtk_size_group_add_widget (size_group, WID ("cursor_blink_time_scale")); g_object_unref (G_OBJECT (size_group)); - image = gtk_image_new_from_icon_name ("list-add", GTK_ICON_SIZE_BUTTON); - gtk_button_set_image (GTK_BUTTON (WID ("xkb_layouts_add")), image); - - image = gtk_image_new_from_icon_name ("view-refresh", GTK_ICON_SIZE_BUTTON); - gtk_button_set_image (GTK_BUTTON (WID ("xkb_reset_to_defaults")), image); - return dialog; } -- cgit v1.2.1