summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
Diffstat (limited to 'libslab')
-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);
}