summaryrefslogtreecommitdiff
path: root/libslab/libslab-utils.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-15 13:22:59 +0300
committermonsta <[email protected]>2016-01-15 13:22:59 +0300
commit4023e78b14bafc58b4ef9fb6e1cd7d9a86263442 (patch)
tree6ffe67bccb19ac61f4afc17ac7c672b59b03b968 /libslab/libslab-utils.c
parentc4355a2ebda8e762d9595a202d646dd1145a4bdb (diff)
downloadmate-control-center-4023e78b14bafc58b4ef9fb6e1cd7d9a86263442.tar.bz2
mate-control-center-4023e78b14bafc58b4ef9fb6e1cd7d9a86263442.tar.xz
libslab: use gtk_image_set_from_icon_name in both GTK+ builds
Diffstat (limited to 'libslab/libslab-utils.c')
-rw-r--r--libslab/libslab-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libslab/libslab-utils.c b/libslab/libslab-utils.c
index 66d1e4d3..019e08d5 100644
--- a/libslab/libslab-utils.c
+++ b/libslab/libslab-utils.c
@@ -55,7 +55,7 @@ libslab_gtk_image_set_by_id (GtkImage *image, const gchar *id)
g_object_unref (pixbuf);
}
else
- gtk_image_set_from_stock (image, "gtk-missing-image", size);
+ gtk_image_set_from_icon_name (image, "image-missing", size);
}
else {
tmp = g_strdup (id);
@@ -79,7 +79,7 @@ libslab_gtk_image_set_by_id (GtkImage *image, const gchar *id)
if (found)
gtk_image_set_from_icon_name (image, tmp, size);
else
- gtk_image_set_from_stock (image, "gtk-missing-image", size);
+ gtk_image_set_from_icon_name (image, "image-missing", size);
g_free (tmp);
}