summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.h
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <icq@gnome.org>2010-07-13 11:23:57 +0200
committerIgnacio Casal Quinteiro <icq@gnome.org>2010-07-17 10:39:37 +0200
commita1be4eccb0cf3174860d9fc23f75aad3421f1886 (patch)
treee7a7d4fd3a5f0e7fea5d6c5a7685fb8c0abae0b1 /gtk/gtktextbuffer.h
parente42c29ca98c9a6316d5fe9158514ec0d0db52f9b (diff)
downloadgtk+-a1be4eccb0cf3174860d9fc23f75aad3421f1886.tar.gz
Move GtkTextBuffer sealed attributes to private struct.
Diffstat (limited to 'gtk/gtktextbuffer.h')
-rw-r--r--gtk/gtktextbuffer.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index 3a773e50ea..e9b6e9716c 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -60,8 +60,6 @@ typedef enum
typedef struct _GtkTextBTree GtkTextBTree;
-typedef struct _GtkTextLogAttrCache GtkTextLogAttrCache;
-
#define GTK_TYPE_TEXT_BUFFER (gtk_text_buffer_get_type ())
#define GTK_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_BUFFER, GtkTextBuffer))
#define GTK_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass))
@@ -69,26 +67,14 @@ typedef struct _GtkTextLogAttrCache GtkTextLogAttrCache;
#define GTK_IS_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_BUFFER))
#define GTK_TEXT_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass))
+typedef struct _GtkTextBufferPrivate GtkTextBufferPrivate;
typedef struct _GtkTextBufferClass GtkTextBufferClass;
struct _GtkTextBuffer
{
GObject parent_instance;
- GtkTextTagTable *GSEAL (tag_table);
- GtkTextBTree *GSEAL (btree);
-
- GSList *GSEAL (clipboard_contents_buffers);
- GSList *GSEAL (selection_clipboards);
-
- GtkTextLogAttrCache *GSEAL (log_attr_cache);
-
- guint GSEAL (user_action_count);
-
- /* Whether the buffer has been modified since last save */
- guint GSEAL (modified) : 1;
-
- guint GSEAL (has_selection) : 1;
+ GtkTextBufferPrivate *priv;
};
struct _GtkTextBufferClass