summaryrefslogtreecommitdiff
path: root/gtk/gtkgamma.h
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2009-10-21 18:15:52 +0200
committerChristian Dywan <christian@twotoasts.de>2009-10-21 18:17:32 +0200
commit7c6823373aa82b6b2749c01bfa6fcdedac963412 (patch)
tree86dd861193ac77cd80ea98b8bee0242efbab0072 /gtk/gtkgamma.h
parentf5df4e05e2c5f6c5380890f651cd49eeba85e8be (diff)
downloadgtk+-7c6823373aa82b6b2749c01bfa6fcdedac963412.tar.gz
Deprecate GtkCurve and GtkGammaCurve
https://bugzilla.gnome.org/show_bug.cgi?id=556263
Diffstat (limited to 'gtk/gtkgamma.h')
-rw-r--r--gtk/gtkgamma.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/gtk/gtkgamma.h b/gtk/gtkgamma.h
index bde3d88df4..0173f960ac 100644
--- a/gtk/gtkgamma.h
+++ b/gtk/gtkgamma.h
@@ -24,19 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-/*
- * NOTE this widget is considered too specialized/little-used for
- * GTK+, and will in the future be moved to some other package. If
- * your application needs this widget, feel free to use it, as the
- * widget does work and is useful in some applications; it's just not
- * of general interest. However, we are not accepting new features for
- * the widget, and it will eventually move out of the GTK+
- * distribution.
- */
-
-#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_DISABLE_DEPRECATED
#ifndef __GTK_GAMMA_CURVE_H__
#define __GTK_GAMMA_CURVE_H__
@@ -90,3 +78,5 @@ GtkWidget* gtk_gamma_curve_new (void);
G_END_DECLS
#endif /* __GTK_GAMMA_CURVE_H__ */
+
+#endif /* GTK_DISABLE_DEPRECATED */