summaryrefslogtreecommitdiff
path: root/gtk/gtktextmarkprivate.h
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2000-07-19 16:11:40 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2000-07-19 16:11:40 +0000
commit1e166c06933aea26638aa407b33c21939c69df96 (patch)
tree72a0a1f612d9bf87725927415bb6bb78be621321 /gtk/gtktextmarkprivate.h
parent8ac34068ba42d927c74e0a8f6d628014c4d426d0 (diff)
downloadgtk+-1e166c06933aea26638aa407b33c21939c69df96.tar.gz
Include files outside of the extern "C" block. Makes some C++ compiler
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.
Diffstat (limited to 'gtk/gtktextmarkprivate.h')
-rw-r--r--gtk/gtktextmarkprivate.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtktextmarkprivate.h b/gtk/gtktextmarkprivate.h
index 578e68036b..08b64fac00 100644
--- a/gtk/gtktextmarkprivate.h
+++ b/gtk/gtktextmarkprivate.h
@@ -1,13 +1,12 @@
#ifndef GTK_TEXT_MARK_PRIVATE_H
#define GTK_TEXT_MARK_PRIVATE_H
+#include <gtk/gtktexttypes.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#include <gtk/gtktexttypes.h>
-
-
#define GTK_IS_TEXT_MARK(mark) (((GtkTextLineSegment*)mark)->type == &gtk_text_left_mark_type || \
((GtkTextLineSegment*)mark)->type == &gtk_text_right_mark_type)