summaryrefslogtreecommitdiff
path: root/gtk/gtktextsegment.h
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-04-03 15:50:30 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-04-03 15:50:30 +0000
commit8de7c8b76121ac968f674679a8a66e111fcb28a1 (patch)
treeef3a38dc7339be1443eb5d4a604468d87fa7bb33 /gtk/gtktextsegment.h
parent0351d5671ddf406de9cceb746e95a48a61be45be (diff)
downloadgdk-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.h8
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 */