1 #ifndef GTK_TEXT_MARK_PRIVATE_H
2 #define GTK_TEXT_MARK_PRIVATE_H
6 #endif /* __cplusplus */
8 #include <gtk/gtktexttypes.h>
11 #define GTK_IS_TEXT_MARK(mark) (((GtkTextLineSegment*)mark)->type == >k_text_left_mark_type || \
12 ((GtkTextLineSegment*)mark)->type == >k_text_right_mark_type)
15 * The data structure below defines line segments that represent
16 * marks. There is one of these for each mark in the text.
19 struct _GtkTextMarkBody {
25 guint not_deleteable : 1;
28 GtkTextLineSegment *mark_segment_new (GtkTextBTree *tree,
29 gboolean left_gravity,
31 void mark_segment_ref (GtkTextLineSegment *mark);
32 void mark_segment_unref (GtkTextLineSegment *mark);
37 #endif /* __cplusplus */