From a1e53835ca8e1d0d18bc9f79cfe4baec2f9edf1d Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 20 Dec 2013 11:30:44 +0000 Subject: Use named icons rather than (deprecated) stock items. --- libindicator/indicator-image-helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libindicator/indicator-image-helper.c') diff --git a/libindicator/indicator-image-helper.c b/libindicator/indicator-image-helper.c index 9f48895..28a6c92 100644 --- a/libindicator/indicator-image-helper.c +++ b/libindicator/indicator-image-helper.c @@ -65,7 +65,7 @@ refresh_image (GtkImage * image) if (icon_filename == NULL && !G_IS_BYTES_ICON (icon_names)) { /* show a broken image if we don't have a filename or image data */ - gtk_image_set_from_stock (image, GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_LARGE_TOOLBAR); + gtk_image_set_from_icon_name (image, "image-missing", GTK_ICON_SIZE_LARGE_TOOLBAR); return; } @@ -115,7 +115,7 @@ refresh_image (GtkImage * image) gtk_image_set_from_pixbuf(image, pixbuf); g_object_unref(G_OBJECT(pixbuf)); } else { - gtk_image_set_from_stock (image, GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_LARGE_TOOLBAR); + gtk_image_set_from_icon_name (image, "image-missing", GTK_ICON_SIZE_LARGE_TOOLBAR); } if (icon_info != NULL) { -- cgit v1.2.3