]> Pileus Git - ~andy/gtk/commitdiff
Remove deprecated GtkScaleButton functions
authorChristian Dywan <christian@twotoasts.de>
Wed, 7 Oct 2009 16:30:17 +0000 (18:30 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:40:41 +0000 (01:40 +0200)
gtk/gtkscalebutton.c
gtk/gtkscalebutton.h

index 72596220010516816d11b49887f497f5335e30ce..029123b10bd05e10446ddf8c85004ef282c9774c 100644 (file)
@@ -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
index 61239098db41a23b9298450960d0d5c69bedf3b4..17dcaaee12cb10cd53e36ce4404b0516780aacbe 100644 (file)
@@ -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__ */