summaryrefslogtreecommitdiff
path: root/gtk/gtktextviewprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-10-27 13:39:01 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-11-01 13:58:10 -0400
commit745c348ff8f07815abaf8b437fb5c914f5c60c85 (patch)
treeee664a1884146e663c4c24fd21e9f66122ca0dd7 /gtk/gtktextviewprivate.h
parent72a9c532620e42f2381b62c592327af5082e6790 (diff)
downloadgtk+-745c348ff8f07815abaf8b437fb5c914f5c60c85.tar.gz
Make GtkTextAttributes private
This is a problematic struct, and giving direct access to it has kept us from making improvements to GtkTextView. Drop it from the public API, together with the auxiliary APIs. If it turns out that this functionality is needed, we should add individual getters.
Diffstat (limited to 'gtk/gtktextviewprivate.h')
-rw-r--r--gtk/gtktextviewprivate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextviewprivate.h b/gtk/gtktextviewprivate.h
index 9eddfd81c0..1f23cc45c9 100644
--- a/gtk/gtktextviewprivate.h
+++ b/gtk/gtktextviewprivate.h
@@ -20,6 +20,7 @@
#define __GTK_TEXT_VIEW_PRIVATE_H__
#include "gtktextview.h"
+#include "gtktextattributes.h"
#include "gtkcssnodeprivate.h"
G_BEGIN_DECLS
@@ -27,6 +28,9 @@ G_BEGIN_DECLS
GtkCssNode * gtk_text_view_get_text_node (GtkTextView *text_view);
GtkCssNode * gtk_text_view_get_selection_node (GtkTextView *text_view);
+GtkTextAttributes * gtk_text_view_get_default_attributes (GtkTextView *text_view);
+
+
G_END_DECLS
#endif /* __GTK_TEXT_VIEW_PRIVATE_H__ */