summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelperprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-16 04:50:26 +0100
committerBenjamin Otte <otte@redhat.com>2018-03-16 06:04:45 +0100
commit12409ee0754f39bcd28ace210314501966afdb91 (patch)
treec73f22dc300c3790ef0979c764b92707524787c1 /gtk/gtkiconhelperprivate.h
parentcbe40f5f46d8358ec944b00037d73482d2d6b4a2 (diff)
downloadgtk+-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/gtkiconhelperprivate.h')
-rw-r--r--gtk/gtkiconhelperprivate.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h
index 2e6846c266..b2d7b819e9 100644
--- a/gtk/gtkiconhelperprivate.h
+++ b/gtk/gtkiconhelperprivate.h
@@ -46,8 +46,6 @@ void _gtk_icon_helper_set_gicon (GtkIconHelper *self,
void _gtk_icon_helper_set_icon_name (GtkIconHelper *self,
const gchar *icon_name);
-void _gtk_icon_helper_set_texture (GtkIconHelper *self,
- GdkTexture *texture);
void _gtk_icon_helper_set_paintable (GtkIconHelper *self,
GdkPaintable *paintable);
@@ -61,7 +59,6 @@ gint _gtk_icon_helper_get_pixel_size (GtkIconHelper *self);
gboolean _gtk_icon_helper_get_use_fallback (GtkIconHelper *self);
GIcon *_gtk_icon_helper_peek_gicon (GtkIconHelper *self);
-GdkTexture *_gtk_icon_helper_peek_texture (GtkIconHelper *self);
GdkPaintable *_gtk_icon_helper_peek_paintable (GtkIconHelper *self);
GtkImageDefinition *gtk_icon_helper_get_definition (GtkIconHelper *self);