diff options
author | Benjamin Otte <otte@redhat.com> | 2017-01-13 04:46:09 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-01-13 04:46:09 +0100 |
commit | 6055028c9653b01c8623763dac0a213396bc81eb (patch) | |
tree | 03b49c37c59bf9ab2f5a96e81a2690ecb013b450 /gtk/gtksnapshot.h | |
parent | e5e5beafa5b86eeb33e8384942e96e8fcf20c514 (diff) | |
download | gtk+-6055028c9653b01c8623763dac0a213396bc81eb.tar.gz |
snapshot: Rename append APIs
Instead of having gtk_snapshot_append_foo_node(), just have
gtk_snapshot_append_foo(). Nobody needs to know that this internally
uses nodes.
Diffstat (limited to 'gtk/gtksnapshot.h')
-rw-r--r-- | gtk/gtksnapshot.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h index d44ad4d84d..1e28dd12fe 100644 --- a/gtk/gtksnapshot.h +++ b/gtk/gtksnapshot.h @@ -105,18 +105,18 @@ GDK_AVAILABLE_IN_3_90 void gtk_snapshot_append_node (GtkSnapshot *snapshot, GskRenderNode *node); GDK_AVAILABLE_IN_3_90 -cairo_t * gtk_snapshot_append_cairo_node (GtkSnapshot *snapshot, +cairo_t * gtk_snapshot_append_cairo (GtkSnapshot *snapshot, const graphene_rect_t *bounds, const char *name, ...) G_GNUC_PRINTF(3, 4); GDK_AVAILABLE_IN_3_90 -void gtk_snapshot_append_texture_node (GtkSnapshot *snapshot, +void gtk_snapshot_append_texture (GtkSnapshot *snapshot, GskTexture *texture, const graphene_rect_t *bounds, const char *name, ...) G_GNUC_PRINTF (4, 5); GDK_AVAILABLE_IN_3_90 -void gtk_snapshot_append_color_node (GtkSnapshot *snapshot, +void gtk_snapshot_append_color (GtkSnapshot *snapshot, const GdkRGBA *color, const graphene_rect_t *bounds, const char *name, |