From 2da9103e0c95966828a19cfd60dd9c31ef81bd7a Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 7 Oct 2009 18:30:17 +0200 Subject: [PATCH] Remove deprecated GtkScaleButton functions --- gtk/gtkscalebutton.c | 40 ---------------------------------------- gtk/gtkscalebutton.h | 8 -------- 2 files changed, 48 deletions(-) diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index 725962200..029123b10 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -706,46 +706,6 @@ gtk_scale_button_set_adjustment (GtkScaleButton *button, } } -/** - * gtk_scale_button_get_orientation: - * @button: a #GtkScaleButton - * - * Gets the orientation of the #GtkScaleButton's popup window. - * - * Returns: the #GtkScaleButton's orientation. - * - * Since: 2.14 - * - * Deprecated: 2.16: Use gtk_orientable_get_orientation() instead. - **/ -GtkOrientation -gtk_scale_button_get_orientation (GtkScaleButton *button) -{ - g_return_val_if_fail (GTK_IS_SCALE_BUTTON (button), GTK_ORIENTATION_VERTICAL); - - return button->priv->orientation; -} - -/** - * gtk_scale_button_set_orientation: - * @button: a #GtkScaleButton - * @orientation: the new orientation - * - * Sets the orientation of the #GtkScaleButton's popup window. - * - * Since: 2.14 - * - * Deprecated: 2.16: Use gtk_orientable_set_orientation() instead. - **/ -void -gtk_scale_button_set_orientation (GtkScaleButton *button, - GtkOrientation orientation) -{ - g_return_if_fail (GTK_IS_SCALE_BUTTON (button)); - - gtk_scale_button_set_orientation_private (button, orientation); -} - /** * gtk_scale_button_get_plus_button: * @button: a #GtkScaleButton diff --git a/gtk/gtkscalebutton.h b/gtk/gtkscalebutton.h index 61239098d..17dcaaee1 100644 --- a/gtk/gtkscalebutton.h +++ b/gtk/gtkscalebutton.h @@ -99,14 +99,6 @@ GtkWidget * gtk_scale_button_get_plus_button (GtkScaleButton *button); GtkWidget * gtk_scale_button_get_minus_button (GtkScaleButton *button); GtkWidget * gtk_scale_button_get_popup (GtkScaleButton *button); -#ifndef GTK_DISABLE_DEPRECATED - -GtkOrientation gtk_scale_button_get_orientation (GtkScaleButton *button); -void gtk_scale_button_set_orientation (GtkScaleButton *button, - GtkOrientation orientation); - -#endif /* GTK_DISABLE_DEPRECATED */ - G_END_DECLS #endif /* __GTK_SCALE_BUTTON_H__ */ -- 2.43.2