summaryrefslogtreecommitdiff
path: root/gtk/gtkimagedefinitionprivate.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/gtkimagedefinitionprivate.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/gtkimagedefinitionprivate.h')
-rw-r--r--gtk/gtkimagedefinitionprivate.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkimagedefinitionprivate.h b/gtk/gtkimagedefinitionprivate.h
index 091d90cacc..fc77fe1594 100644
--- a/gtk/gtkimagedefinitionprivate.h
+++ b/gtk/gtkimagedefinitionprivate.h
@@ -28,7 +28,6 @@ typedef union _GtkImageDefinition GtkImageDefinition;
GtkImageDefinition * gtk_image_definition_new_empty (void);
GtkImageDefinition * gtk_image_definition_new_icon_name (const char *icon_name);
GtkImageDefinition * gtk_image_definition_new_gicon (GIcon *gicon);
-GtkImageDefinition * gtk_image_definition_new_texture (GdkTexture *texture);
GtkImageDefinition * gtk_image_definition_new_paintable (GdkPaintable *paintable);
GtkImageDefinition * gtk_image_definition_ref (GtkImageDefinition *def);
@@ -38,7 +37,6 @@ GtkImageType gtk_image_definition_get_storage_type (const GtkImageD
gint gtk_image_definition_get_scale (const GtkImageDefinition *def);
const gchar * gtk_image_definition_get_icon_name (const GtkImageDefinition *def);
GIcon * gtk_image_definition_get_gicon (const GtkImageDefinition *def);
-GdkTexture * gtk_image_definition_get_texture (const GtkImageDefinition *def);
GdkPaintable * gtk_image_definition_get_paintable (const GtkImageDefinition *def);