diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 92b30d7..a202eb6 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -94,6 +94,7 @@ typedef enum
   GTK_BUTTONBOX_CENTER
 } GtkButtonBoxStyle;
 
+#ifndef GTK_DISABLE_DEPRECATED
 /* Curve types */
 typedef enum
 {
@@ -101,6 +102,7 @@ typedef enum
   GTK_CURVE_TYPE_SPLINE,       /* spline interpolation */
   GTK_CURVE_TYPE_FREE          /* free form curve */
 } GtkCurveType;
+#endif /* GTK_DISABLE_DEPRECATED */
 
 typedef enum
 {
