diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-20 04:33:58 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-26 18:16:36 +0200 |
commit | e6d24f4c159320d59016598ed305677d64397c03 (patch) | |
tree | 06e2e3fa5f3eabecd9deece695a5a1b358501207 /gtk/gskpango.c | |
parent | ce743f28a19a1d33fee9311c131791c4bb332596 (diff) | |
download | gtk+-e6d24f4c159320d59016598ed305677d64397c03.tar.gz |
snapshot: Make gtk_snapshot_append_node() take care of offset
Push an offset node when append_node is called. That resets the offset.
Diffstat (limited to 'gtk/gskpango.c')
-rw-r--r-- | gtk/gskpango.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gskpango.c b/gtk/gskpango.c index e293759d2d..1b84c71357 100644 --- a/gtk/gskpango.c +++ b/gtk/gskpango.c @@ -21,7 +21,7 @@ #include "gsk/gsk.h" #include "gskpango.h" -#include "gtksnapshot.h" +#include "gtksnapshotprivate.h" #include <math.h> @@ -162,7 +162,7 @@ gsk_pango_renderer_show_text_glyphs (PangoRenderer *renderer, gsk_render_node_set_name (node, name); } - gtk_snapshot_append_node (crenderer->snapshot, node); + gtk_snapshot_append_node_internal (crenderer->snapshot, node); gsk_render_node_unref (node); } |