diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-29 23:30:47 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-29 23:30:47 -0500 |
commit | b65f87192973c6a13633af5700b893fc7594e695 (patch) | |
tree | 79fe7ef9dfe58698cc8df0d6f6deea2a6bbf3bfd /gtk/gtkrender.h | |
parent | 0b39631464bf2300d25bb9e112089c556dc08f42 (diff) | |
download | gtk+-b65f87192973c6a13633af5700b893fc7594e695.tar.gz |
Use a texture instead of a pixbuf in gtk_render_icon
This gets rid of more GdkPixbuf in the API.
Update all callers.
Diffstat (limited to 'gtk/gtkrender.h')
-rw-r--r-- | gtk/gtkrender.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkrender.h b/gtk/gtkrender.h index 46c030485a..21caea9ada 100644 --- a/gtk/gtkrender.h +++ b/gtk/gtkrender.h @@ -134,10 +134,10 @@ void gtk_render_activity (GtkStyleContext *context, gdouble y, gdouble width, gdouble height); -GDK_AVAILABLE_IN_3_2 +GDK_AVAILABLE_IN_3_94 void gtk_render_icon (GtkStyleContext *context, cairo_t *cr, - GdkPixbuf *pixbuf, + GdkTexture *texture, gdouble x, gdouble y); GDK_AVAILABLE_IN_3_10 |