summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererspinner.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@gimp.org>2009-10-21 20:21:20 +0200
committerMichael Natterer <mitch@gimp.org>2009-10-21 20:21:20 +0200
commit34b4b4d9c3ae28e17b5d080c8bab8967f7cc8cd3 (patch)
tree5416d2ae30d4046a0ea9627c038d5ff5669b57ba /gtk/gtkcellrendererspinner.h
parent8c34831e4299b88663db30e30438b119058ddd92 (diff)
downloadgtk+-34b4b4d9c3ae28e17b5d080c8bab8967f7cc8cd3.tar.gz
Add single-include guard and reduce includes to what's needed
Diffstat (limited to 'gtk/gtkcellrendererspinner.h')
-rw-r--r--gtk/gtkcellrendererspinner.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkcellrendererspinner.h b/gtk/gtkcellrendererspinner.h
index 109ee909a7..45bcfcab6d 100644
--- a/gtk/gtkcellrendererspinner.h
+++ b/gtk/gtkcellrendererspinner.h
@@ -20,10 +20,14 @@
* Boston, MA 02111-1307, USA.
*/
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#ifndef __GTK_CELL_RENDERER_SPINNER_H__
#define __GTK_CELL_RENDERER_SPINNER_H__
-#include <gtk/gtk.h>
+#include <gtk/gtkcellrenderer.h>
G_BEGIN_DECLS
@@ -61,4 +65,3 @@ GtkCellRenderer *gtk_cell_renderer_spinner_new (void);
G_END_DECLS
#endif /* __GTK_CELL_RENDERER_SPINNER_H__ */
-