summaryrefslogtreecommitdiff
path: root/gtk/gtktextchild.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/gtktextchild.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/gtktextchild.c')
-rw-r--r--gtk/gtktextchild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c
index 05a1a3c7e3..5fd0d72108 100644
--- a/gtk/gtktextchild.c
+++ b/gtk/gtktextchild.c
@@ -108,7 +108,7 @@ pixbuf_segment_check_func (GtkTextLineSegment *seg,
}
-GtkTextLineSegmentClass gtk_text_pixbuf_type = {
+const GtkTextLineSegmentClass gtk_text_pixbuf_type = {
"pixbuf", /* name */
FALSE, /* leftGravity */
NULL, /* splitFunc */
@@ -206,7 +206,7 @@ child_segment_check_func (GtkTextLineSegment *seg,
g_error ("child segment has char count of %d", seg->char_count);
}
-GtkTextLineSegmentClass gtk_text_child_type = {
+const GtkTextLineSegmentClass gtk_text_child_type = {
"child-widget", /* name */
FALSE, /* leftGravity */
NULL, /* splitFunc */