[gtk+/gtk-2-90: 65/158] Remove deprecated GtkVButtonBox functions



commit f2c7be7ffbabed542bff3228a7cc5638b2e33724
Author: Javier Jardón <javierjc1982 gmail com>
Date:   Thu Oct 8 17:53:55 2009 +0200

    Remove deprecated GtkVButtonBox functions

 gtk/gtkvbbox.c |   39 ---------------------------------------
 gtk/gtkvbbox.h |   11 +----------
 2 files changed, 1 insertions(+), 49 deletions(-)
---
diff --git a/gtk/gtkvbbox.c b/gtk/gtkvbbox.c
index 72ba385..66e14bd 100644
--- a/gtk/gtkvbbox.c
+++ b/gtk/gtkvbbox.c
@@ -55,45 +55,6 @@ gtk_vbutton_box_new (void)
 }
 
 
-
-/* set default value for spacing */
-
-void
-gtk_vbutton_box_set_spacing_default (gint spacing)
-{
-  default_spacing = spacing;
-}
-
-
-/* set default value for layout style */
-
-void
-gtk_vbutton_box_set_layout_default (GtkButtonBoxStyle layout)
-{
-  g_return_if_fail (layout >= GTK_BUTTONBOX_DEFAULT_STYLE &&
-		    layout <= GTK_BUTTONBOX_CENTER);
-
-  default_layout_style = layout;
-}
-
-/* get default value for spacing */
-
-gint
-gtk_vbutton_box_get_spacing_default (void)
-{
-  return default_spacing;
-}
-
-
-
-/* get default value for layout style */
-
-GtkButtonBoxStyle
-gtk_vbutton_box_get_layout_default (void)
-{
-  return default_layout_style;
-}
-
 GtkButtonBoxStyle
 _gtk_vbutton_box_get_layout_default (void)
 {
diff --git a/gtk/gtkvbbox.h b/gtk/gtkvbbox.h
index 996eb57..61bc4a1 100644
--- a/gtk/gtkvbbox.h
+++ b/gtk/gtkvbbox.h
@@ -63,20 +63,11 @@ struct _GtkVButtonBoxClass
 GType      gtk_vbutton_box_get_type (void) G_GNUC_CONST;
 GtkWidget *gtk_vbutton_box_new      (void);
 
-/* buttons can be added by gtk_container_add() */
-
-#ifndef GTK_DISABLE_DEPRECATED
-gint gtk_vbutton_box_get_spacing_default (void);
-void gtk_vbutton_box_set_spacing_default (gint spacing);
-
-GtkButtonBoxStyle gtk_vbutton_box_get_layout_default (void);
-void gtk_vbutton_box_set_layout_default (GtkButtonBoxStyle layout);
-#endif
 
 /* private API */
 GtkButtonBoxStyle _gtk_vbutton_box_get_layout_default (void);
 
-G_END_DECLS
 
+G_END_DECLS
 
 #endif /* __GTK_VBBOX_H__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]