*
*/
-#ifndef GTK_TEXT_MARK_H
-#define GTK_TEXT_MARK_H
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
+#ifndef __GTK_TEXT_MARK_H__
+#define __GTK_TEXT_MARK_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* The GtkTextMark data type */
{
GObject parent_instance;
- gpointer segment;
+ gpointer GSEAL (segment);
};
struct _GtkTextMarkClass
gboolean setting);
gboolean gtk_text_mark_get_visible (GtkTextMark *mark);
+GtkTextMark *gtk_text_mark_new (const gchar *name,
+ gboolean left_gravity);
G_CONST_RETURN gchar* gtk_text_mark_get_name (GtkTextMark *mark);
gboolean gtk_text_mark_get_deleted (GtkTextMark *mark);
GtkTextBuffer* gtk_text_mark_get_buffer (GtkTextMark *mark);
gboolean gtk_text_mark_get_left_gravity (GtkTextMark *mark);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif