diff --git a/gtk/gtktextmark.h b/gtk/gtktextmark.h index 5bddf92739..8b714bc25e 100644 --- a/gtk/gtktextmark.h +++ b/gtk/gtktextmark.h @@ -56,8 +56,6 @@ G_BEGIN_DECLS -/* The GtkTextMark data type */ - typedef struct _GtkTextMark GtkTextMark; typedef struct _GtkTextMarkClass GtkTextMarkClass; @@ -72,7 +70,8 @@ struct _GtkTextMark { GObject parent_instance; - gpointer GSEAL (segment); + /*< private >*/ + gpointer segment; }; struct _GtkTextMarkClass @@ -86,14 +85,14 @@ struct _GtkTextMarkClass void (*_gtk_reserved4) (void); }; -GType gtk_text_mark_get_type (void) G_GNUC_CONST; - -void gtk_text_mark_set_visible (GtkTextMark *mark, - gboolean setting); -gboolean gtk_text_mark_get_visible (GtkTextMark *mark); +GType gtk_text_mark_get_type (void) G_GNUC_CONST; GtkTextMark *gtk_text_mark_new (const gchar *name, - gboolean left_gravity); + gboolean left_gravity); +void gtk_text_mark_set_visible (GtkTextMark *mark, + gboolean setting); +gboolean gtk_text_mark_get_visible (GtkTextMark *mark); + 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); @@ -101,6 +100,4 @@ gboolean gtk_text_mark_get_left_gravity (GtkTextMark *mark); G_END_DECLS -#endif - - +#endif /* __GTK_TEXT_MARK_H__ */