Remove remaining GtkButtonBox deprecated stuff

This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
This commit is contained in:
Javier Jardón 2009-10-10 19:38:23 +02:00 committed by Javier Jardón
parent 3b696774fc
commit 858d4fb007
5 changed files with 4 additions and 15 deletions

View File

@ -422,15 +422,9 @@ gtk_aspect_frame_get_type
<TITLE>GtkButtonBox</TITLE>
GtkButtonBox
GTK_BUTTONBOX_DEFAULT
gtk_button_box_get_spacing
gtk_button_box_get_layout
gtk_button_box_get_child_size
gtk_button_box_get_child_ipadding
gtk_button_box_get_child_secondary
gtk_button_box_set_spacing
gtk_button_box_set_layout
gtk_button_box_set_child_size
gtk_button_box_set_child_ipadding
gtk_button_box_set_child_secondary
<SUBSECTION Standard>
GTK_BUTTON_BOX

View File

@ -7328,7 +7328,6 @@ static GtkWidget *create_bbox( gint horizontal,
/* Set the appearance of the Button Box */
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
gtk_box_set_spacing (GTK_BOX (bbox), spacing);
/*gtk_button_box_set_child_size (GTK_BUTTON_BOX (bbox), child_w, child_h);*/
button = gtk_button_new_from_stock (GTK_STOCK_OK);
gtk_container_add (GTK_CONTAINER (bbox), button);

View File

@ -26,7 +26,6 @@ static GtkWidget *create_bbox( gint horizontal,
/* Set the appearance of the Button Box */
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
gtk_box_set_spacing (GTK_BOX (bbox), spacing);
/*gtk_button_box_set_child_size (GTK_BUTTON_BOX (bbox), child_w, child_h);*/
button = gtk_button_new_from_stock (GTK_STOCK_OK);
gtk_container_add (GTK_CONTAINER (bbox), button);

View File

@ -493,12 +493,6 @@ gtk_builder_value_from_string_type
#if IN_HEADER(__GTK_BUTTON_BOX_H__)
#if IN_FILE(__GTK_BUTTON_BOX_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_button_box_set_child_size
gtk_button_box_set_child_ipadding
gtk_button_box_get_child_ipadding
gtk_button_box_get_child_size
#endif
gtk_button_box_get_child_secondary
gtk_button_box_get_layout
gtk_button_box_get_type G_GNUC_CONST

View File

@ -1232,7 +1232,10 @@ create_bbox (gint horizontal,
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
gtk_box_set_spacing (GTK_BOX (bbox), spacing);
gtk_button_box_set_child_size (GTK_BUTTON_BOX (bbox), child_w, child_h);
g_object_set (bbox,
"child-min-width", child_w,
"child-min-height", child_h,
NULL);
button = gtk_button_new_with_label ("OK");
gtk_container_add (GTK_CONTAINER (bbox), button);