summaryrefslogtreecommitdiff
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
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
-rw-r--r--libslab/libslab-utils.c4
-rw-r--r--libslab/mate-utils.c4
2 files changed, 4 insertions, 4 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);
}
diff --git a/libslab/mate-utils.c b/libslab/mate-utils.c
index b94253ae..cad5cca5 100644
--- a/libslab/mate-utils.c
+++ b/libslab/mate-utils.c
@@ -37,7 +37,7 @@ load_image_by_id (GtkImage * image, GtkIconSize size, const gchar * image_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
{
@@ -61,7 +61,7 @@ load_image_by_id (GtkImage * image, GtkIconSize size, const gchar * image_id)
if (icon_exists)
gtk_image_set_from_icon_name (image, id, size);
else
- gtk_image_set_from_stock (image, "gtk-missing-image", size);
+ gtk_image_set_from_icon_name (image, "image-missing", size);
}