summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelperprivate.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/gtkiconhelperprivate.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/gtkiconhelperprivate.h')
-rw-r--r--gtk/gtkiconhelperprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h
index 5c28643c61..dbe3def51c 100644
--- a/gtk/gtkiconhelperprivate.h
+++ b/gtk/gtkiconhelperprivate.h
@@ -70,6 +70,8 @@ void _gtk_icon_helper_set_icon_name (GtkIconHelper *self,
GtkIconSize icon_size);
void _gtk_icon_helper_set_surface (GtkIconHelper *self,
cairo_surface_t *surface);
+void _gtk_icon_helper_set_texture (GtkIconHelper *self,
+ GdkTexture *texture);
gboolean _gtk_icon_helper_set_icon_size (GtkIconHelper *self,
GtkIconSize icon_size);
@@ -85,6 +87,7 @@ gboolean _gtk_icon_helper_get_use_fallback (GtkIconHelper *self);
GIcon *_gtk_icon_helper_peek_gicon (GtkIconHelper *self);
cairo_surface_t *_gtk_icon_helper_peek_surface (GtkIconHelper *self);
+GdkTexture *_gtk_icon_helper_peek_texture (GtkIconHelper *self);
GtkImageDefinition *gtk_icon_helper_get_definition (GtkIconHelper *self);
const gchar *_gtk_icon_helper_get_icon_name (GtkIconHelper *self);