From 12409ee0754f39bcd28ace210314501966afdb91 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 16 Mar 2018 04:50:26 +0100 Subject: 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. --- gtk/gtkiconhelperprivate.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gtk/gtkiconhelperprivate.h') 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); -- cgit v1.2.1