diff options
author | Benjamin Otte <otte@redhat.com> | 2018-02-16 10:50:49 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-16 06:04:44 +0100 |
commit | 9fa1e6815105c802c6e3e1974b58de55b56df3da (patch) | |
tree | 12b4a36f696c85faa3db05fd95560f8f7d01277a /gtk/gtkiconhelperprivate.h | |
parent | c59948169d82bdc808bf91cf621fe045c1e01e90 (diff) | |
download | gtk+-9fa1e6815105c802c6e3e1974b58de55b56df3da.tar.gz |
image: Implement support for paintables
This includes adding support to GtkImageDefintion and GtkIconHelper.
Only GtkImage handles support for signals from the paintable.
Diffstat (limited to 'gtk/gtkiconhelperprivate.h')
-rw-r--r-- | gtk/gtkiconhelperprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h index 6c39294cae..6fd794b70b 100644 --- a/gtk/gtkiconhelperprivate.h +++ b/gtk/gtkiconhelperprivate.h @@ -69,6 +69,8 @@ void _gtk_icon_helper_set_surface (GtkIconHelper *self, cairo_surface_t *surface); void _gtk_icon_helper_set_texture (GtkIconHelper *self, GdkTexture *texture); +void _gtk_icon_helper_set_paintable (GtkIconHelper *self, + GdkPaintable *paintable); gboolean _gtk_icon_helper_set_pixel_size (GtkIconHelper *self, gint pixel_size); @@ -82,6 +84,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); +GdkPaintable *_gtk_icon_helper_peek_paintable (GtkIconHelper *self); GtkImageDefinition *gtk_icon_helper_get_definition (GtkIconHelper *self); const gchar *_gtk_icon_helper_get_icon_name (GtkIconHelper *self); |