summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertext.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcellrenderertext.h')
-rw-r--r--gtk/gtkcellrenderertext.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertext.h b/gtk/gtkcellrenderertext.h
index fef52adf22..b6df6a084f 100644
--- a/gtk/gtkcellrenderertext.h
+++ b/gtk/gtkcellrenderertext.h
@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#ifndef __GTK_CELL_RENDERER_TEXT_H__
#define __GTK_CELL_RENDERER_TEXT_H__
@@ -98,5 +102,4 @@ void gtk_cell_renderer_text_set_fixed_height_from_font (GtkCellRende
G_END_DECLS
-
#endif /* __GTK_CELL_RENDERER_TEXT_H__ */