From c4355a2ebda8e762d9595a202d646dd1145a4bdb Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 15 Jan 2016 12:08:53 +0300 Subject: keyboard: use gtk_image_new_from_icon_name in both GTK+ builds --- capplets/keyboard/mate-keyboard-properties.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capplets') diff --git a/capplets/keyboard/mate-keyboard-properties.c b/capplets/keyboard/mate-keyboard-properties.c index a5810e71..d0418616 100644 --- a/capplets/keyboard/mate-keyboard-properties.c +++ b/capplets/keyboard/mate-keyboard-properties.c @@ -86,10 +86,10 @@ 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_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON); + 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_stock (GTK_STOCK_REFRESH, GTK_ICON_SIZE_BUTTON); + 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