diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-10-15 23:04:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-10-15 23:04:44 -0400 |
commit | c264cd67853f006538a4022d0c3b7f2bba9a8dab (patch) | |
tree | 12dac35c06c8d202484d58414c77d0f8e8034fb5 /gtk/gtktextbufferprivate.h | |
parent | af8c2d2f7ba5b1881b4c75c8d7aaff05d3655a64 (diff) | |
download | gtk+-c264cd67853f006538a4022d0c3b7f2bba9a8dab.tar.gz |
Split off a private header for GtkTextBuffer
This avoids polluting the installed header with private symbols.
Diffstat (limited to 'gtk/gtktextbufferprivate.h')
-rw-r--r-- | gtk/gtktextbufferprivate.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/gtk/gtktextbufferprivate.h b/gtk/gtktextbufferprivate.h new file mode 100644 index 0000000000..8d8363c31a --- /dev/null +++ b/gtk/gtktextbufferprivate.h @@ -0,0 +1,55 @@ +/* GTK - The GIMP Toolkit + * gtktextbufferprivate.h Copyright (C) 2015 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __GTK_TEXT_BUFFER_PRIVATE_H__ +#define __GTK_TEXT_BUFFER_PRIVATE_H__ + +#include <gtk/gtktextbuffer.h> + +G_BEGIN_DECLS + + +void _gtk_text_buffer_spew (GtkTextBuffer *buffer); + +GtkTextBTree* _gtk_text_buffer_get_btree (GtkTextBuffer *buffer); + +const PangoLogAttr* _gtk_text_buffer_get_line_log_attrs (GtkTextBuffer *buffer, + const GtkTextIter *anywhere_in_line, + gint *char_len); + +void _gtk_text_buffer_notify_will_remove_tag (GtkTextBuffer *buffer, + GtkTextTag *tag); + +void _gtk_text_buffer_get_text_before (GtkTextBuffer *buffer, + AtkTextBoundary boundary_type, + GtkTextIter *position, + GtkTextIter *start, + GtkTextIter *end); +void _gtk_text_buffer_get_text_at (GtkTextBuffer *buffer, + AtkTextBoundary boundary_type, + GtkTextIter *position, + GtkTextIter *start, + GtkTextIter *end); +void _gtk_text_buffer_get_text_after (GtkTextBuffer *buffer, + AtkTextBoundary boundary_type, + GtkTextIter *position, + GtkTextIter *start, + GtkTextIter *end); + +G_END_DECLS + +#endif |