Remove deprecated code: GtkHButtonBox

This commit is contained in:
Javier Jardón 2009-10-10 21:31:22 +02:00 committed by Javier Jardón
parent c3991cf024
commit c9251c99e7
4 changed files with 0 additions and 59 deletions

View File

@ -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

View File

@ -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

View File

@ -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)
{

View File

@ -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);