add a #error unless you define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so

2001-10-22  Havoc Pennington  <hp@redhat.com>

	* gtk/gtktextlayout.h: add a #error unless you define
	GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally

        * gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
This commit is contained in:
Havoc Pennington 2001-10-22 21:52:47 +00:00 committed by Havoc Pennington
parent a959d3daf8
commit 6446484667
21 changed files with 95 additions and 12 deletions

View File

@ -1,3 +1,10 @@
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.h: add a #error unless you define
GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
* gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix

View File

@ -1,3 +1,10 @@
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.h: add a #error unless you define
GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
* gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix

View File

@ -1,3 +1,10 @@
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.h: add a #error unless you define
GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
* gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix

View File

@ -1,3 +1,10 @@
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.h: add a #error unless you define
GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
* gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix

View File

@ -1,3 +1,10 @@
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.h: add a #error unless you define
GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
* gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix

View File

@ -1,3 +1,10 @@
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.h: add a #error unless you define
GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
* gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix

View File

@ -1,3 +1,10 @@
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextlayout.h: add a #error unless you define
GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
* gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get_border_window_size): fix

View File

@ -750,6 +750,12 @@ You may not attach these to signals created with the
@arg2:
@arg3:
<!-- ##### ARG GtkEntry:text-position ##### -->
<para>
</para>
<!-- ##### ENUM GtkFontFilterType ##### -->
<para>
A set of bit flags used to specify the filter being set
@ -1087,12 +1093,24 @@ produce superscript and subscript.
</para>
<!-- ##### ARG GtkTextView:height-lines ##### -->
<para>
</para>
<!-- ##### ARG GtkTextView:justify ##### -->
<para>
</para>
<!-- ##### ARG GtkTextView:width-columns ##### -->
<para>
</para>
<!-- ##### STRUCT GtkTreeModelSort ##### -->
<para>

View File

@ -349,7 +349,12 @@ to fit.
@entry: the object which received the signal.
<!-- ##### ARG GtkEntry:text-position ##### -->
<!-- ##### ARG GtkEntry:cursor-position ##### -->
<para>
</para>
<!-- ##### ARG GtkEntry:selection-bound ##### -->
<para>
</para>

View File

@ -412,3 +412,13 @@ pointer, it isn't copied.
</para>
<!-- ##### ARG GtkLabel:cursor-position ##### -->
<para>
</para>
<!-- ##### ARG GtkLabel:selection-bound ##### -->
<para>
</para>

View File

@ -639,16 +639,6 @@ types related to the text widget and how they work together.
@textview: the object which received the signal.
<!-- ##### ARG GtkTextView:height-lines ##### -->
<para>
</para>
<!-- ##### ARG GtkTextView:width-columns ##### -->
<para>
</para>
<!-- ##### ARG GtkTextView:pixels-above-lines ##### -->
<para>

View File

@ -52,6 +52,7 @@
*
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtktextbtree.h"
#include <string.h>
#include <ctype.h>

View File

@ -28,6 +28,7 @@
#include <string.h>
#include <stdarg.h>
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtkclipboard.h"
#include "gtkinvisible.h"
#include "gtksignal.h"

View File

@ -47,6 +47,7 @@
*
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtktextchild.h"
#include "gtktextbtree.h"
#include "gtktextlayout.h"

View File

@ -74,6 +74,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtktextdisplay.h"
/* DO NOT go putting private headers in here. This file should only
* use the semi-public headers, as with gtktextview.c.

View File

@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtktextiter.h"
#include "gtktextbtree.h"
#include "gtktextiterprivate.h"

View File

@ -76,6 +76,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtksignal.h"
#include "gtktextlayout.h"
#include "gtktextbtree.h"

View File

@ -89,6 +89,9 @@ extern "C" {
* canvas item can use it, but users are not supposed
* to use it.
*/
#ifndef GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#error "You are not supposed to be including this file; the equivalent public API is in gtktextview.h"
#endif
#include <gtk/gtktextbuffer.h>
#include <gtk/gtktextiter.h>

View File

@ -47,7 +47,7 @@
*
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtktextbtree.h"
static void gtk_text_mark_init (GtkTextMark *mark);

View File

@ -50,6 +50,7 @@
*
*/
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtktextbtree.h"
#include <string.h>
#include <ctype.h>

View File

@ -26,6 +26,7 @@
#include <string.h>
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
#include "gtkbindings.h"
#include "gtkdnd.h"
#include "gtkintl.h"