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.
This commit is contained in:
@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user