summaryrefslogtreecommitdiff
path: root/gtk/gtktextlayout.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-10-22 21:52:47 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-22 21:52:47 +0000
commit644648466729ddd49e1dc3e299e532c67abebe79 (patch)
treef0588cb03337f512ae1fda656d3db443fe380059 /gtk/gtktextlayout.h
parenta959d3daf8824b0d1ebca5fcbfc4d97e86163fc6 (diff)
downloadgdk-pixbuf-644648466729ddd49e1dc3e299e532c67abebe79.tar.gz
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.
Diffstat (limited to 'gtk/gtktextlayout.h')
-rw-r--r--gtk/gtktextlayout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktextlayout.h b/gtk/gtktextlayout.h
index 1856aec1f..81881ef18 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>