forked from AuroraMiddleware/gtk
Hide GtkTextBTree's typedef
It's a private type, and has no business in a public header.
This commit is contained in:
parent
1fb5824e1e
commit
a8f36b8381
@ -37,13 +37,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/*
|
|
||||||
* This is the PUBLIC representation of a text buffer.
|
|
||||||
* GtkTextBTree is the PRIVATE internal representation of it.
|
|
||||||
*/
|
|
||||||
|
|
||||||
typedef struct _GtkTextBTree GtkTextBTree;
|
|
||||||
|
|
||||||
#define GTK_TYPE_TEXT_BUFFER (gtk_text_buffer_get_type ())
|
#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(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))
|
#define GTK_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass))
|
||||||
|
@ -19,10 +19,10 @@
|
|||||||
#define __GTK_TEXT_BUFFER_PRIVATE_H__
|
#define __GTK_TEXT_BUFFER_PRIVATE_H__
|
||||||
|
|
||||||
#include <gtk/gtktextbuffer.h>
|
#include <gtk/gtktextbuffer.h>
|
||||||
|
#include "gtktexttypes.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
void _gtk_text_buffer_spew (GtkTextBuffer *buffer);
|
void _gtk_text_buffer_spew (GtkTextBuffer *buffer);
|
||||||
|
|
||||||
GtkTextBTree* _gtk_text_buffer_get_btree (GtkTextBuffer *buffer);
|
GtkTextBTree* _gtk_text_buffer_get_btree (GtkTextBuffer *buffer);
|
||||||
|
@ -30,6 +30,13 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is the PUBLIC representation of a text buffer.
|
||||||
|
* GtkTextBTree is the PRIVATE internal representation of it.
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef struct _GtkTextBTree GtkTextBTree;
|
||||||
|
|
||||||
typedef struct _GtkTextCounter GtkTextCounter;
|
typedef struct _GtkTextCounter GtkTextCounter;
|
||||||
typedef struct _GtkTextLineSegment GtkTextLineSegment;
|
typedef struct _GtkTextLineSegment GtkTextLineSegment;
|
||||||
typedef struct _GtkTextLineSegmentClass GtkTextLineSegmentClass;
|
typedef struct _GtkTextLineSegmentClass GtkTextLineSegmentClass;
|
||||||
|
Loading…
Reference in New Issue
Block a user