forked from AuroraMiddleware/gtk
1e166c0693
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk-pixbuf/gdk-pixbuf.h, gtk/gtkhsv.h, gtk/gtktextbtree.h, gtk/gtktextbuffer.h, gtk/gtktextchild.h, gtk/gtktextdisplay.h, gtk/gtktextiter.h, gtk/gtktextiterprivate.h, gtk/gtktextlayout.h, gtk/gtktextmarkprivate.h, gtk/gtktextsegment.h, gtk/gtktexttag.h, gtk/gtktexttagtable.h, gtk/gtktexttypes.h, gtk/gtktextview.h, gtk/gtktypeutils.h: Include files outside of the extern "C" block. Makes some C++ compiler happy. Reported by Denis Vakatov <vakatov@peony.nlm.nih.gov>. I really hope not to have caused a merging nightmare for all the branches out there. Otherwise I'll be available for crucifixion.
42 lines
1022 B
C
42 lines
1022 B
C
#ifndef GTK_TEXT_MARK_PRIVATE_H
|
|
#define GTK_TEXT_MARK_PRIVATE_H
|
|
|
|
#include <gtk/gtktexttypes.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
#define GTK_IS_TEXT_MARK(mark) (((GtkTextLineSegment*)mark)->type == >k_text_left_mark_type || \
|
|
((GtkTextLineSegment*)mark)->type == >k_text_right_mark_type)
|
|
|
|
/*
|
|
* 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;
|
|
guint visible : 1;
|
|
guint not_deleteable : 1;
|
|
};
|
|
|
|
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
|
|
|
|
|
|
|