diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-04-03 15:50:30 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-04-03 15:50:30 +0000 |
commit | 8de7c8b76121ac968f674679a8a66e111fcb28a1 (patch) | |
tree | ef3a38dc7339be1443eb5d4a604468d87fa7bb33 /gtk/gtktextsegment.h | |
parent | 0351d5671ddf406de9cceb746e95a48a61be45be (diff) | |
download | gdk-pixbuf-8de7c8b76121ac968f674679a8a66e111fcb28a1.tar.gz |
Fix a warning.
* gtk/gtktextlayout.c: Fix a warning.
* gtk/gtktextsegment.h:
* gtk/gtktextsegment.c:
* gtk/gtktextchild.c:
* gtk/gtktextbtree.c:
* gtk/gtktextmark.c:
* gtk/gtktexttypes.h: Make the segment class pointers const.
* gtk/gtktextbufferserialize.c: Make parser struct const.
* gtk/gtkuimanager.c: Make parser struct const.
Diffstat (limited to 'gtk/gtktextsegment.h')
-rw-r--r-- | gtk/gtktextsegment.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktextsegment.h b/gtk/gtktextsegment.h index 691147b08..394703b9d 100644 --- a/gtk/gtktextsegment.h +++ b/gtk/gtktextsegment.h @@ -131,10 +131,10 @@ struct _GtkTextLineSegmentClass { */ struct _GtkTextLineSegment { - GtkTextLineSegmentClass *type; /* Pointer to record describing - * segment's type. */ - GtkTextLineSegment *next; /* Next in list of segments for this - * line, or NULL for end of list. */ + const GtkTextLineSegmentClass *type; /* Pointer to record describing + * segment's type. */ + GtkTextLineSegment *next; /* Next in list of segments for this + * line, or NULL for end of list. */ int char_count; /* # of chars of index space occupied */ |