[gtk+] Remove pointless sealing from GtkTextMark
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove pointless sealing from GtkTextMark
- Date: Mon, 27 Dec 2010 04:17:36 +0000 (UTC)
commit 51f7e426507d1828cf0c7f33458dd60f0e1c74cf
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Dec 26 23:17:10 2010 -0500
Remove pointless sealing from GtkTextMark
gtk/gtktextmark.h | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/gtk/gtktextmark.h b/gtk/gtktextmark.h
index 5bddf92..8b714bc 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__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]