diff options
author | Benjamin Otte <otte@redhat.com> | 2017-01-13 00:39:59 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-01-13 03:38:36 +0100 |
commit | b58de2d16cbb1b4e8fbdb6aac9d73deb887650e9 (patch) | |
tree | fbb9ce909543e5696d9290e1c6d9381d3b36e923 /gtk/gtkcellrendererprogress.c | |
parent | bc3ba6864174a905d095a3a57a2cb0889d229d9e (diff) | |
download | gtk+-b58de2d16cbb1b4e8fbdb6aac9d73deb887650e9.tar.gz |
snapshot: Redo pop() API
gtk_snapshot_pop() => removed
gtk_snapshot_pop_and_append() => gtk_snapshot_pop()
So now there is no way to get a rendernode out of the snapshotting API
until you gtk_snapshot_finish().
Diffstat (limited to 'gtk/gtkcellrendererprogress.c')
-rw-r--r-- | gtk/gtkcellrendererprogress.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c index 290fd14b9e..56ca8e427b 100644 --- a/gtk/gtkcellrendererprogress.c +++ b/gtk/gtkcellrendererprogress.c @@ -671,7 +671,7 @@ gtk_cell_renderer_progress_snapshot (GtkCellRenderer *cell, layout); gtk_style_context_restore (context); - gtk_snapshot_pop_and_append (snapshot); + gtk_snapshot_pop (snapshot); gtk_style_context_save (context); gtk_style_context_add_class (context, GTK_STYLE_CLASS_TROUGH); @@ -700,7 +700,7 @@ gtk_cell_renderer_progress_snapshot (GtkCellRenderer *cell, x_pos, y_pos, layout); - gtk_snapshot_pop_and_append (snapshot); + gtk_snapshot_pop (snapshot); } if (bar_position + bar_size < start + full_size) @@ -727,7 +727,7 @@ gtk_cell_renderer_progress_snapshot (GtkCellRenderer *cell, x_pos, y_pos, layout); - gtk_snapshot_pop_and_append (snapshot); + gtk_snapshot_pop (snapshot); } gtk_style_context_restore (context); |