diff options
author | monsta <[email protected]> | 2016-01-14 15:36:34 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-14 15:46:59 +0300 |
commit | 21686dc36dccc260e7aed4c4935c71989c970710 (patch) | |
tree | d8251e2bf43048ac607d56cb830a45ee07604685 /capplets/appearance/appearance-style.c | |
parent | 224e3f91d87dd1ed0b4600f8cb43f5a266bc6d53 (diff) | |
download | mate-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-style.c')
-rw-r--r-- | capplets/appearance/appearance-style.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c index 785ee689..9c4cedc8 100644 --- a/capplets/appearance/appearance-style.c +++ b/capplets/appearance/appearance-style.c @@ -237,7 +237,7 @@ static void update_message_area(AppearanceData* data) gtk_misc_set_alignment (GTK_MISC (data->style_message_label), 0.0, 0.5); hbox = gtk_hbox_new (FALSE, 9); - icon = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, GTK_ICON_SIZE_DIALOG); + icon = gtk_image_new_from_icon_name ("dialog-warning", GTK_ICON_SIZE_DIALOG); gtk_misc_set_alignment (GTK_MISC (icon), 0.5, 0); gtk_box_pack_start (GTK_BOX (hbox), icon, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), data->style_message_label, TRUE, TRUE, 0); @@ -1046,8 +1046,8 @@ style_init (AppearanceData *data) w = appearance_capplet_get_widget (data, "color_scheme_defaults_button"); gtk_button_set_image (GTK_BUTTON (w), - gtk_image_new_from_stock (GTK_STOCK_REVERT_TO_SAVED, - GTK_ICON_SIZE_BUTTON)); + gtk_image_new_from_icon_name ("document-revert", + GTK_ICON_SIZE_BUTTON)); settings = gtk_settings_get_default (); g_signal_connect (settings, "notify::gtk-color-scheme", (GCallback) color_scheme_changed, data); |