diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktextbtree.c | 1 | ||||
-rw-r--r-- | gtk/gtktextbuffer.c | 1 | ||||
-rw-r--r-- | gtk/gtktextchild.c | 1 | ||||
-rw-r--r-- | gtk/gtktextdisplay.c | 1 | ||||
-rw-r--r-- | gtk/gtktextiter.c | 1 | ||||
-rw-r--r-- | gtk/gtktextlayout.c | 1 | ||||
-rw-r--r-- | gtk/gtktextlayout.h | 3 | ||||
-rw-r--r-- | gtk/gtktextmark.c | 2 | ||||
-rw-r--r-- | gtk/gtktextsegment.c | 1 | ||||
-rw-r--r-- | gtk/gtktextview.c | 1 |
10 files changed, 12 insertions, 1 deletions
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index 3659538960..a2a043be87 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -52,6 +52,7 @@ * */ +#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API #include "gtktextbtree.h" #include <string.h> #include <ctype.h> diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index ec2ded7e49..ebd33443d9 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -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" diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c index 6c573b7568..60bf424950 100644 --- a/gtk/gtktextchild.c +++ b/gtk/gtktextchild.c @@ -47,6 +47,7 @@ * */ +#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API #include "gtktextchild.h" #include "gtktextbtree.h" #include "gtktextlayout.h" diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c index 51ef0ae125..1213e0634b 100644 --- a/gtk/gtktextdisplay.c +++ b/gtk/gtktextdisplay.c @@ -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. diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index ab387f4cd1..97fc4b4ad6 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -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" diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index bcb1aceaff..599c82f302 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -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" diff --git a/gtk/gtktextlayout.h b/gtk/gtktextlayout.h index 1856aec1fa..81881ef18d 100644 --- a/gtk/gtktextlayout.h +++ b/gtk/gtktextlayout.h @@ -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> diff --git a/gtk/gtktextmark.c b/gtk/gtktextmark.c index 1be324b11a..d7202089b0 100644 --- a/gtk/gtktextmark.c +++ b/gtk/gtktextmark.c @@ -47,7 +47,7 @@ * */ - +#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API #include "gtktextbtree.h" static void gtk_text_mark_init (GtkTextMark *mark); diff --git a/gtk/gtktextsegment.c b/gtk/gtktextsegment.c index 0b1c0cc290..d9634dfea9 100644 --- a/gtk/gtktextsegment.c +++ b/gtk/gtktextsegment.c @@ -50,6 +50,7 @@ * */ +#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API #include "gtktextbtree.h" #include <string.h> #include <ctype.h> diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 3296fc30f6..5a5fa96ee5 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -26,6 +26,7 @@ #include <string.h> +#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API #include "gtkbindings.h" #include "gtkdnd.h" #include "gtkintl.h" |