summaryrefslogtreecommitdiff
path: root/gtk/gtkhscale.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-06-07 21:43:32 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-06-07 21:43:32 -0400
commit12d3f26d660e110d4f4f5a4fe7fa3dba343a7041 (patch)
tree03a1f970469f0952d00cc1b0278e84145343f08e /gtk/gtkhscale.c
parent214069caee0661ff0bd30d79726f75e3dccea6e8 (diff)
downloadgtk+-12d3f26d660e110d4f4f5a4fe7fa3dba343a7041.tar.gz
Deprecate h/v variants of GtkScale
This has been discussed in bug 541009.
Diffstat (limited to 'gtk/gtkhscale.c')
-rw-r--r--gtk/gtkhscale.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkhscale.c b/gtk/gtkhscale.c
index 84ea86a6b1..e19a5b6b04 100644
--- a/gtk/gtkhscale.c
+++ b/gtk/gtkhscale.c
@@ -29,6 +29,7 @@
#include <math.h>
#include <stdlib.h>
+#undef GTK_DISABLE_DEPRECATED
#include "gtkhscale.h"
#include "gtkorientable.h"
@@ -43,6 +44,8 @@
*
* The position to show the current value, and the number of decimal places
* shown can be set using the parent #GtkScale class's functions.
+ *
+ * GtkHScale has been deprecated, use #GtkScale instead.
*/
@@ -70,6 +73,8 @@ gtk_hscale_init (GtkHScale *hscale)
* Creates a new #GtkHScale.
*
* Returns: a new #GtkHScale.
+ *
+ * Deprecated: 3.2: Use gtk_scale_new() with %GTK_ORIENTATION_HORIZONTAL instead
*/
GtkWidget *
gtk_hscale_new (GtkAdjustment *adjustment)
@@ -98,6 +103,8 @@ gtk_hscale_new (GtkAdjustment *adjustment)
* needs, use gtk_scale_set_digits() to correct it.
*
* Return value: a new #GtkHScale
+ *
+ * Deprecated: 3.2: Use gtk_scale_new_with_range() with %GTK_ORIENTATION_HORIZONTAL instead
**/
GtkWidget *
gtk_hscale_new_with_range (gdouble min,