diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-16 04:50:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-16 06:04:45 +0100 |
commit | 12409ee0754f39bcd28ace210314501966afdb91 (patch) | |
tree | c73f22dc300c3790ef0979c764b92707524787c1 /gtk/gtkimage.c | |
parent | cbe40f5f46d8358ec944b00037d73482d2d6b4a2 (diff) | |
download | gtk+-12409ee0754f39bcd28ace210314501966afdb91.tar.gz |
cellrendererpixbuf: Store the texture in the iconhelper paintable
That's kinda weird but allows us to delete the texture case from
GtkIconHelper and GTK_IMAGE_TEXTURE from the GtkImageType enum.
And it doesn't cause any other problems because the cell renderer
can't deal with paintables - otherwise it would mirror GtkImage and have
a "paintable" property instead.
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r-- | gtk/gtkimage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index f56ea2b1e0..863f88aebd 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -1205,7 +1205,6 @@ gtk_image_notify_for_storage_type (GtkImage *image, case GTK_IMAGE_PAINTABLE: g_object_notify_by_pspec (G_OBJECT (image), image_props[PROP_PAINTABLE]); break; - case GTK_IMAGE_TEXTURE: case GTK_IMAGE_EMPTY: default: break; |