summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-colorsel.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-27 21:19:29 +0200
committerraveit65 <[email protected]>2017-04-27 21:25:32 +0200
commiteb2882c99d5812b7c3fc72efe1adf5d41c35dda5 (patch)
treeeaf12f1f05dfbb55bdfae6a31353a6cdc6981033 /libmate-desktop/mate-colorsel.c
parente6444114f81750cc18f08f6fd84af121910c0dda (diff)
downloadmate-desktop-eb2882c99d5812b7c3fc72efe1adf5d41c35dda5.tar.bz2
mate-desktop-eb2882c99d5812b7c3fc72efe1adf5d41c35dda5.tar.xz
mate-colorsel: don't use deprecated GTK_STOCK_COLOR_PICKER
Diffstat (limited to 'libmate-desktop/mate-colorsel.c')
-rw-r--r--libmate-desktop/mate-colorsel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-colorsel.c b/libmate-desktop/mate-colorsel.c
index 8e77ce2..aad7d79 100644
--- a/libmate-desktop/mate-colorsel.c
+++ b/libmate-desktop/mate-colorsel.c
@@ -372,7 +372,7 @@ mate_color_selection_init (MateColorSelection *colorsel)
g_object_set_data (G_OBJECT (button), "COLORSEL", colorsel);
g_signal_connect (button, "clicked",
G_CALLBACK (get_screen_color), NULL);
- picker_image = gtk_image_new_from_stock (GTK_STOCK_COLOR_PICKER, GTK_ICON_SIZE_BUTTON);
+ picker_image = gtk_image_new_from_icon_name ("gtk-color-picker", GTK_ICON_SIZE_BUTTON);
gtk_container_add (GTK_CONTAINER (button), picker_image);
gtk_widget_show (GTK_WIDGET (picker_image));
gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);