[gtk+/gtk-2-90: 66/158] Remove deprecated GtkHButtonBox functions and macros
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 66/158] Remove deprecated GtkHButtonBox functions and macros
- Date: Thu, 11 Mar 2010 02:49:06 +0000 (UTC)
commit 06f4967e10e0e350c48b26a919e082bd2fa62d2a
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 5760509..b136e48 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]