summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-05-13 14:26:52 +0200
committerraveit65 <[email protected]>2017-06-11 21:33:48 +0200
commit39e52a3674d231633cb3de76758541332ae48ec6 (patch)
tree72ac441ab9b57ff6d8da133dd3f90c0e6fcf6e60
parent36157f0f9fd880b4763fda3391f6f96476405fab (diff)
downloadpluma-39e52a3674d231633cb3de76758541332ae48ec6.tar.bz2
pluma-39e52a3674d231633cb3de76758541332ae48ec6.tar.xz
pluma-panel: remove deprecated GtkImage types
GTK_IMAGE_ICON_NAME is the replacement for both and already used by code
-rw-r--r--pluma/pluma-panel.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c
index 430f3a90..eb234898 100644
--- a/pluma/pluma-panel.c
+++ b/pluma/pluma-panel.c
@@ -275,24 +275,6 @@ set_gtk_image_from_gtk_image (GtkImage *image,
gtk_image_set_from_pixbuf (image, pb);
}
break;
- case GTK_IMAGE_STOCK:
- {
- gchar *s_id;
- GtkIconSize s;
-
- gtk_image_get_stock (source, &s_id, &s);
- gtk_image_set_from_stock (image, s_id, s);
- }
- break;
- case GTK_IMAGE_ICON_SET:
- {
- GtkIconSet *is;
- GtkIconSize s;
-
- gtk_image_get_icon_set (source, &is, &s);
- gtk_image_set_from_icon_set (image, is, s);
- }
- break;
case GTK_IMAGE_ANIMATION:
{
GdkPixbufAnimation *a;