[gtk+/gtk-2-90: 93/200] Remove deprecated code: GtkHButtonBox
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 93/200] Remove deprecated code: GtkHButtonBox
- Date: Mon, 3 May 2010 00:04:26 +0000 (UTC)
commit c9251c99e71783d5a4ccf2951f6ccd1bc24c57a4
Author: Javier Jardón <javierjc1982 gmail com>
Date: Sat Oct 10 21:31:22 2009 +0200
Remove deprecated code: GtkHButtonBox
docs/reference/gtk/gtk-sections.txt | 4 ---
gtk/gtk.symbols | 6 -----
gtk/gtkhbbox.c | 41 -----------------------------------
gtk/gtkhbbox.h | 8 ------
4 files changed, 0 insertions(+), 59 deletions(-)
---
diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt
index 468d8d4..161681f 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -1814,10 +1814,6 @@ gtk_handle_box_get_type
<TITLE>GtkHButtonBox</TITLE>
GtkHButtonBox
gtk_hbutton_box_new
-gtk_hbutton_box_get_spacing_default
-gtk_hbutton_box_get_layout_default
-gtk_hbutton_box_set_spacing_default
-gtk_hbutton_box_set_layout_default
<SUBSECTION Standard>
GTK_HBUTTON_BOX
GTK_IS_HBUTTON_BOX
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index 943455b..7d94a78 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -1570,12 +1570,6 @@ gtk_hbox_new
#if IN_FILE(__GTK_HBUTTON_BOX_C__)
gtk_hbutton_box_new
gtk_hbutton_box_get_type G_GNUC_CONST
-#ifndef GTK_DISABLE_DEPRECATED
-gtk_hbutton_box_get_layout_default
-gtk_hbutton_box_get_spacing_default
-gtk_hbutton_box_set_layout_default
-gtk_hbutton_box_set_spacing_default
-#endif
#endif
#endif
diff --git a/gtk/gtkhbbox.c b/gtk/gtkhbbox.c
index 50131d1..be5a5c9 100644
--- a/gtk/gtkhbbox.c
+++ b/gtk/gtkhbbox.c
@@ -31,9 +31,6 @@
#include "gtkalias.h"
-static gint default_spacing = 30;
-static gint default_layout_style = GTK_BUTTONBOX_EDGE;
-
G_DEFINE_TYPE (GtkHButtonBox, gtk_hbutton_box, GTK_TYPE_BUTTON_BOX)
static void
@@ -54,44 +51,6 @@ gtk_hbutton_box_new (void)
return g_object_new (GTK_TYPE_HBUTTON_BOX, NULL);
}
-
-/* set default value for spacing */
-
-void
-gtk_hbutton_box_set_spacing_default (gint spacing)
-{
- default_spacing = spacing;
-}
-
-
-/* set default value for layout style */
-
-void
-gtk_hbutton_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_hbutton_box_get_spacing_default (void)
-{
- return default_spacing;
-}
-
-
-/* get default value for layout style */
-
-GtkButtonBoxStyle
-gtk_hbutton_box_get_layout_default (void)
-{
- return default_layout_style;
-}
-
GtkButtonBoxStyle
_gtk_hbutton_box_get_layout_default (void)
{
diff --git a/gtk/gtkhbbox.h b/gtk/gtkhbbox.h
index 25eecba..89259c9 100644
--- a/gtk/gtkhbbox.h
+++ b/gtk/gtkhbbox.h
@@ -64,14 +64,6 @@ GtkWidget* gtk_hbutton_box_new (void);
/* buttons can be added by gtk_container_add() */
-#ifndef GTK_DISABLE_DEPRECATED
-gint gtk_hbutton_box_get_spacing_default (void);
-GtkButtonBoxStyle gtk_hbutton_box_get_layout_default (void);
-
-void gtk_hbutton_box_set_spacing_default (gint spacing);
-void gtk_hbutton_box_set_layout_default (GtkButtonBoxStyle layout);
-#endif
-
/* private API */
GtkButtonBoxStyle _gtk_hbutton_box_get_layout_default (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]