diff options
Diffstat (limited to 'gtk/gtktextmarkprivate.h')
-rw-r--r-- | gtk/gtktextmarkprivate.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gtk/gtktextmarkprivate.h b/gtk/gtktextmarkprivate.h new file mode 100644 index 0000000000..20ed1d5b08 --- /dev/null +++ b/gtk/gtktextmarkprivate.h @@ -0,0 +1,37 @@ +#ifndef GTK_TEXT_MARK_PRIVATE_H +#define GTK_TEXT_MARK_PRIVATE_H + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include <gtk/gtktexttypes.h> + +/* + * The data structure below defines line segments that represent + * marks. There is one of these for each mark in the text. + */ + +struct _GtkTextMarkBody { + guint refcount; + gchar *name; + GtkTextBTree *tree; + GtkTextLine *line; + gboolean visible; +}; + +GtkTextLineSegment *mark_segment_new (GtkTextBTree *tree, + gboolean left_gravity, + const gchar *name); +void mark_segment_ref (GtkTextLineSegment *mark); +void mark_segment_unref (GtkTextLineSegment *mark); + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif + + + |