summaryrefslogtreecommitdiff
path: root/gtk/gtkimagedefinitionprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-04 19:05:52 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-05 00:07:17 +0100
commit2d959553e9de3dd11778c7fc22b8d759de90b729 (patch)
treedac80f67526dc8f87ff7d308ea791075d653061b /gtk/gtkimagedefinitionprivate.h
parent481b5d1b8937fb53d7ef2753cfb3a8a03cfb43a1 (diff)
downloadgtk+-2d959553e9de3dd11778c7fc22b8d759de90b729.tar.gz
image: Add the ability to set textures
This also adds it to all other places that use the same infrastructure: GtkEntry and GtkCellRendererPixbuf
Diffstat (limited to 'gtk/gtkimagedefinitionprivate.h')
-rw-r--r--gtk/gtkimagedefinitionprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkimagedefinitionprivate.h b/gtk/gtkimagedefinitionprivate.h
index 9acf7ce876..2dac974ee8 100644
--- a/gtk/gtkimagedefinitionprivate.h
+++ b/gtk/gtkimagedefinitionprivate.h
@@ -29,6 +29,7 @@ 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_surface (cairo_surface_t *surface);
+GtkImageDefinition * gtk_image_definition_new_texture (GdkTexture *texture);
GtkImageDefinition * gtk_image_definition_ref (GtkImageDefinition *def);
void gtk_image_definition_unref (GtkImageDefinition *def);
@@ -38,6 +39,7 @@ gint gtk_image_definition_get_scale (const GtkImageD
const gchar * gtk_image_definition_get_icon_name (const GtkImageDefinition *def);
GIcon * gtk_image_definition_get_gicon (const GtkImageDefinition *def);
cairo_surface_t * gtk_image_definition_get_surface (const GtkImageDefinition *def);
+GdkTexture * gtk_image_definition_get_texture (const GtkImageDefinition *def);
G_END_DECLS