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/gtktextmark.c | |
parent | 0351d5671ddf406de9cceb746e95a48a61be45be (diff) | |
download | gtk+-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/gtktextmark.c')
-rw-r--r-- | gtk/gtktextmark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextmark.c b/gtk/gtktextmark.c index 260cc44d1d..4961b8d50b 100644 --- a/gtk/gtktextmark.c +++ b/gtk/gtktextmark.c @@ -291,7 +291,7 @@ static void mark_segment_check_func (GtkTextLineSegment *segPtr * their gravity property. */ -GtkTextLineSegmentClass gtk_text_right_mark_type = { +const GtkTextLineSegmentClass gtk_text_right_mark_type = { "mark", /* name */ FALSE, /* leftGravity */ NULL, /* splitFunc */ @@ -301,7 +301,7 @@ GtkTextLineSegmentClass gtk_text_right_mark_type = { mark_segment_check_func /* checkFunc */ }; -GtkTextLineSegmentClass gtk_text_left_mark_type = { +const GtkTextLineSegmentClass gtk_text_left_mark_type = { "mark", /* name */ TRUE, /* leftGravity */ NULL, /* splitFunc */ |