diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-12-23 20:03:06 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-01-03 15:05:46 -0500 |
commit | 55016f72f2fe91f088f5d2c12b1c5c38e42f8f3a (patch) | |
tree | d755fefddc9aa9727d8877a68ef58980fd6dd950 /gtk/gtktextlayout.c | |
parent | 6a11c59290000b604ab6c0f7da1bed11147be221 (diff) | |
download | gtk+-55016f72f2fe91f088f5d2c12b1c5c38e42f8f3a.tar.gz |
gtktexttag: Move public members to private header
And fix gail to not poke at GtkTextTag internals
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r-- | gtk/gtktextlayout.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index 8344a1b642..35809873d5 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -1283,8 +1283,8 @@ totally_invisible_line (GtkTextLayout *layout, invalidate_cached_style (layout); /* Bail out if an elision-unsetting tag begins */ - if (seg->body.toggle.info->tag->invisible_set && - !seg->body.toggle.info->tag->values->invisible) + if (seg->body.toggle.info->tag->priv->invisible_set && + !seg->body.toggle.info->tag->priv->values->invisible) break; } else if (seg->type == >k_text_toggle_off_type) @@ -1292,8 +1292,8 @@ totally_invisible_line (GtkTextLayout *layout, invalidate_cached_style (layout); /* Bail out if an elision-setting tag ends */ - if (seg->body.toggle.info->tag->invisible_set && - seg->body.toggle.info->tag->values->invisible) + if (seg->body.toggle.info->tag->priv->invisible_set && + seg->body.toggle.info->tag->priv->values->invisible) break; } @@ -2103,7 +2103,7 @@ tags_array_toggle_tag (GPtrArray *array, tags = (GtkTextTag**) array->pdata; - for (pos = 0; pos < array->len && tags[pos]->priority < tag->priority; pos++) ; + for (pos = 0; pos < array->len && tags[pos]->priv->priority < tag->priv->priority; pos++) ; if (pos < array->len && tags[pos] == tag) g_ptr_array_remove_index (array, pos); |