]> Pileus Git - ~andy/gtk/commitdiff
[gtk] Deprecate GtkCurveType enum
authorChristian Dywan <christian@lanedo.com>
Sun, 7 Feb 2010 00:52:58 +0000 (01:52 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:56:06 +0000 (20:56 -0400)
It's only used by already deprecated GtkCurve and GtkGammaCurve

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=556263

Signed-off-by: Javier Jardón <jjardon@gnome.org>
gtk/gtkenums.h

index 92b30d7224b377cf9a08ff93e6fc34ee12e06d56..b8b5e3359459633019ed4cb1a4571ebfb45927ae 100644 (file)
@@ -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
 
 typedef enum
 {