[gtk+/gtk-2.90] Remove deprecated GtkHButtonBox functions and macros



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

    Remove deprecated GtkHButtonBox functions and macros

 gtk/gtkbbox.c |   49 -------------------------------------------------
 gtk/gtkbbox.h |   18 ------------------
 2 files changed, 0 insertions(+), 67 deletions(-)
---
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index 3690a6b..447bf16 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -234,28 +234,6 @@ gtk_button_box_get_child_property (GtkContainer *container,
     }
 }
 
-/* set per widget values for spacing, child size and child internal padding */
-
-void 
-gtk_button_box_set_child_size (GtkButtonBox *widget, 
-                               gint width, gint height)
-{
-  g_return_if_fail (GTK_IS_BUTTON_BOX (widget));
-
-  widget->child_min_width = width;
-  widget->child_min_height = height;
-}
-
-void 
-gtk_button_box_set_child_ipadding (GtkButtonBox *widget,
-                                   gint ipad_x, gint ipad_y)
-{
-  g_return_if_fail (GTK_IS_BUTTON_BOX (widget));
-
-  widget->child_ipad_x = ipad_x;
-  widget->child_ipad_y = ipad_y;
-}
-
 void
 gtk_button_box_set_layout (GtkButtonBox      *widget, 
                            GtkButtonBoxStyle  layout_style)
@@ -272,33 +250,6 @@ gtk_button_box_set_layout (GtkButtonBox      *widget,
     }
 }
 
-
-/* get per widget values for spacing, child size and child internal padding */
-
-void 
-gtk_button_box_get_child_size (GtkButtonBox *widget,
-                               gint *width, gint *height)
-{
-  g_return_if_fail (GTK_IS_BUTTON_BOX (widget));
-  g_return_if_fail (width != NULL);
-  g_return_if_fail (height != NULL);
-
-  *width  = widget->child_min_width;
-  *height = widget->child_min_height;
-}
-
-void
-gtk_button_box_get_child_ipadding (GtkButtonBox *widget,
-                                   gint* ipad_x, gint *ipad_y)
-{
-  g_return_if_fail (GTK_IS_BUTTON_BOX (widget));
-  g_return_if_fail (ipad_x != NULL);
-  g_return_if_fail (ipad_y != NULL);
-
-  *ipad_x = widget->child_ipad_x;
-  *ipad_y = widget->child_ipad_y;
-}
-
 GtkButtonBoxStyle 
 gtk_button_box_get_layout (GtkButtonBox *widget)
 {
diff --git a/gtk/gtkbbox.h b/gtk/gtkbbox.h
index f0666a2..26ec756 100644
--- a/gtk/gtkbbox.h
+++ b/gtk/gtkbbox.h
@@ -76,24 +76,6 @@ void              gtk_button_box_set_child_secondary (GtkButtonBox      *widget,
 						      GtkWidget         *child,
 						      gboolean           is_secondary);
 
-#ifndef GTK_DISABLE_DEPRECATED
-#define gtk_button_box_set_spacing(b,s) gtk_box_set_spacing (GTK_BOX (b), s)
-#define gtk_button_box_get_spacing(b)   gtk_box_get_spacing (GTK_BOX (b))
-
-void gtk_button_box_set_child_size     (GtkButtonBox *widget,
-					gint          min_width,
-					gint          min_height);
-void gtk_button_box_set_child_ipadding (GtkButtonBox *widget,
-					gint          ipad_x,
-					gint          ipad_y);
-void gtk_button_box_get_child_size     (GtkButtonBox *widget,
-					gint         *min_width,
-					gint         *min_height);
-void gtk_button_box_get_child_ipadding (GtkButtonBox *widget,
-					gint         *ipad_x,
-					gint         *ipad_y);
-#endif
-
 /* Internal method - do not use. */
 void _gtk_button_box_child_requisition (GtkWidget *widget,
 					int       *nvis_children,



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