summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.c
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/gtktextbtree.c
parent0351d5671ddf406de9cceb746e95a48a61be45be (diff)
downloadgtk+-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/gtktextbtree.c')
-rw-r--r--gtk/gtktextbtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c
index 1269256256..1216d1834b 100644
--- a/gtk/gtktextbtree.c
+++ b/gtk/gtktextbtree.c
@@ -6923,7 +6923,7 @@ _gtk_text_btree_check (GtkTextBTree *tree)
}
else
{
- GtkTextLineSegmentClass * last = NULL;
+ const GtkTextLineSegmentClass *last = NULL;
for (line = node->children.line ; line != NULL ;
line = line->next)