summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-desktop.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-14 15:36:34 +0300
committermonsta <[email protected]>2016-01-14 15:46:59 +0300
commit21686dc36dccc260e7aed4c4935c71989c970710 (patch)
treed8251e2bf43048ac607d56cb830a45ee07604685 /capplets/appearance/appearance-desktop.c
parent224e3f91d87dd1ed0b4600f8cb43f5a266bc6d53 (diff)
downloadmate-control-center-21686dc36dccc260e7aed4c4935c71989c970710.tar.bz2
mate-control-center-21686dc36dccc260e7aed4c4935c71989c970710.tar.xz
appearance: use gtk_image_new_from_icon_name in both GTK+ builds
Diffstat (limited to 'capplets/appearance/appearance-desktop.c')
-rw-r--r--capplets/appearance/appearance-desktop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/capplets/appearance/appearance-desktop.c b/capplets/appearance/appearance-desktop.c
index 2b9c873f..18c9e72f 100644
--- a/capplets/appearance/appearance-desktop.c
+++ b/capplets/appearance/appearance-desktop.c
@@ -851,9 +851,9 @@ wp_update_preview (GtkFileChooser *chooser,
}
else
{
- gtk_image_set_from_stock (GTK_IMAGE (data->wp_image),
- "gtk-dialog-question",
- GTK_ICON_SIZE_DIALOG);
+ gtk_image_set_from_icon_name (GTK_IMAGE (data->wp_image),
+ "dialog-question",
+ GTK_ICON_SIZE_DIALOG);
}
}
@@ -1332,7 +1332,7 @@ desktop_init (AppearanceData *data,
add_button = appearance_capplet_get_widget (data, "wp_add_button");
gtk_button_set_image (GTK_BUTTON (add_button),
- gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_BUTTON));
+ gtk_image_new_from_icon_name ("list-add", GTK_ICON_SIZE_BUTTON));
g_signal_connect (add_button, "clicked",
(GCallback) wp_file_open_dialog, data);