diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-03-11 00:29:46 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-03-11 00:31:44 -0500 |
commit | d55da3fd4411f35ea96aa86b92cb7b04c9f4c738 (patch) | |
tree | 5dc66041f55374de0762db570514d3b6cd867318 /gtk/gskpango.c | |
parent | 7c18911c0082b5b189f3bbed4e7261f172e6130c (diff) | |
download | gtk+-d55da3fd4411f35ea96aa86b92cb7b04c9f4c738.tar.gz |
Use GtkSnapshot getters
We can avoid direct struct access and gtksnapshotprivate.h
everywhere.
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 04b58f566e..e293759d2d 100644 --- a/gtk/gskpango.c +++ b/gtk/gskpango.c @@ -21,7 +21,7 @@ #include "gsk/gsk.h" #include "gskpango.h" -#include "gtksnapshotprivate.h" +#include "gtksnapshot.h" #include <math.h> @@ -155,7 +155,7 @@ gsk_pango_renderer_show_text_glyphs (PangoRenderer *renderer, if (node == NULL) return; - if (crenderer->snapshot->record_names) + if (gtk_snapshot_get_record_names (crenderer->snapshot)) { char name[64]; g_snprintf (name, sizeof (name), "Glyphs<%d>", glyphs->num_glyphs); |