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/gtkdebugupdates.c | |
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/gtkdebugupdates.c')
-rw-r--r-- | gtk/gtkdebugupdates.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkdebugupdates.c b/gtk/gtkdebugupdates.c index 4ae6289512..81ef6ad0cc 100644 --- a/gtk/gtkdebugupdates.c +++ b/gtk/gtkdebugupdates.c @@ -284,10 +284,10 @@ gtk_debug_updates_snapshot (GtkWidget *widget, for (i = 0; i < cairo_region_num_rectangles (draw->region); i++) { cairo_region_get_rectangle (draw->region, i, &rect); - gtk_snapshot_append_color_node (snapshot, - &(GdkRGBA) { 1, 0, 0, 0.4 * (1 - progress) }, - &GRAPHENE_RECT_INIT(rect.x, rect.y, rect.width, rect.height), - "Debug Updates<%g>", progress); + gtk_snapshot_append_color (snapshot, + &(GdkRGBA) { 1, 0, 0, 0.4 * (1 - progress) }, + &GRAPHENE_RECT_INIT(rect.x, rect.y, rect.width, rect.height), + "Debug Updates<%g>", progress); } } } |