forked from AuroraMiddleware/gtk
Remove remaining GtkButtonBox deprecated stuff
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
This commit is contained in:
parent
3b696774fc
commit
858d4fb007
@ -422,15 +422,9 @@ gtk_aspect_frame_get_type
|
|||||||
<TITLE>GtkButtonBox</TITLE>
|
<TITLE>GtkButtonBox</TITLE>
|
||||||
GtkButtonBox
|
GtkButtonBox
|
||||||
GTK_BUTTONBOX_DEFAULT
|
GTK_BUTTONBOX_DEFAULT
|
||||||
gtk_button_box_get_spacing
|
|
||||||
gtk_button_box_get_layout
|
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_get_child_secondary
|
||||||
gtk_button_box_set_spacing
|
|
||||||
gtk_button_box_set_layout
|
gtk_button_box_set_layout
|
||||||
gtk_button_box_set_child_size
|
|
||||||
gtk_button_box_set_child_ipadding
|
|
||||||
gtk_button_box_set_child_secondary
|
gtk_button_box_set_child_secondary
|
||||||
<SUBSECTION Standard>
|
<SUBSECTION Standard>
|
||||||
GTK_BUTTON_BOX
|
GTK_BUTTON_BOX
|
||||||
|
@ -7328,7 +7328,6 @@ static GtkWidget *create_bbox( gint horizontal,
|
|||||||
/* Set the appearance of the Button Box */
|
/* Set the appearance of the Button Box */
|
||||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
|
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
|
||||||
gtk_box_set_spacing (GTK_BOX (bbox), spacing);
|
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);
|
button = gtk_button_new_from_stock (GTK_STOCK_OK);
|
||||||
gtk_container_add (GTK_CONTAINER (bbox), button);
|
gtk_container_add (GTK_CONTAINER (bbox), button);
|
||||||
|
@ -26,7 +26,6 @@ static GtkWidget *create_bbox( gint horizontal,
|
|||||||
/* Set the appearance of the Button Box */
|
/* Set the appearance of the Button Box */
|
||||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
|
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
|
||||||
gtk_box_set_spacing (GTK_BOX (bbox), spacing);
|
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);
|
button = gtk_button_new_from_stock (GTK_STOCK_OK);
|
||||||
gtk_container_add (GTK_CONTAINER (bbox), button);
|
gtk_container_add (GTK_CONTAINER (bbox), button);
|
||||||
|
@ -493,12 +493,6 @@ gtk_builder_value_from_string_type
|
|||||||
|
|
||||||
#if IN_HEADER(__GTK_BUTTON_BOX_H__)
|
#if IN_HEADER(__GTK_BUTTON_BOX_H__)
|
||||||
#if IN_FILE(__GTK_BUTTON_BOX_C__)
|
#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_child_secondary
|
||||||
gtk_button_box_get_layout
|
gtk_button_box_get_layout
|
||||||
gtk_button_box_get_type G_GNUC_CONST
|
gtk_button_box_get_type G_GNUC_CONST
|
||||||
|
@ -1232,7 +1232,10 @@ create_bbox (gint horizontal,
|
|||||||
|
|
||||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
|
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
|
||||||
gtk_box_set_spacing (GTK_BOX (bbox), spacing);
|
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");
|
button = gtk_button_new_with_label ("OK");
|
||||||
gtk_container_add (GTK_CONTAINER (bbox), button);
|
gtk_container_add (GTK_CONTAINER (bbox), button);
|
||||||
|
Loading…
Reference in New Issue
Block a user