forked from AuroraMiddleware/gtk
cca8dd6347
2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
36 lines
890 B
C
36 lines
890 B
C
#ifndef __GTK_TEXT_MARK_PRIVATE_H__
|
|
#define __GTK_TEXT_MARK_PRIVATE_H__
|
|
|
|
#include <gtk/gtktexttypes.h>
|
|
#include <gtk/gtktextlayout.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GTK_IS_TEXT_MARK_SEGMENT(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 {
|
|
GtkTextMark *obj;
|
|
gchar *name;
|
|
GtkTextBTree *tree;
|
|
GtkTextLine *line;
|
|
guint visible : 1;
|
|
guint not_deleteable : 1;
|
|
};
|
|
|
|
GtkTextLineSegment *_gtk_mark_segment_new (GtkTextBTree *tree,
|
|
gboolean left_gravity,
|
|
const gchar *name);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|
|
|
|
|
|
|