Commit dcb4c6e3 authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: use gtk_box_new()

parent cb242a48
...@@ -109,9 +109,9 @@ rcm_create_previews (void) ...@@ -109,9 +109,9 @@ rcm_create_previews (void)
GtkWidget *button; GtkWidget *button;
GtkWidget *combo; GtkWidget *combo;
top_vbox = gtk_vbox_new (FALSE, 12); top_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
vbox = gtk_vbox_new (FALSE, 6); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (top_vbox), vbox, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (top_vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
...@@ -129,7 +129,7 @@ rcm_create_previews (void) ...@@ -129,7 +129,7 @@ rcm_create_previews (void)
G_CALLBACK (rcm_render_preview), G_CALLBACK (rcm_render_preview),
NULL); NULL);
vbox = gtk_vbox_new (FALSE, 6); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (top_vbox), vbox, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (top_vbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
...@@ -147,7 +147,7 @@ rcm_create_previews (void) ...@@ -147,7 +147,7 @@ rcm_create_previews (void)
G_CALLBACK (rcm_render_preview), G_CALLBACK (rcm_render_preview),
NULL); NULL);
vbox = gtk_vbox_new (FALSE, 6); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (top_vbox), vbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (top_vbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
...@@ -160,7 +160,7 @@ rcm_create_previews (void) ...@@ -160,7 +160,7 @@ rcm_create_previews (void)
G_CALLBACK (rcm_preview_as_you_drag), G_CALLBACK (rcm_preview_as_you_drag),
&(Current.RealTime)); &(Current.RealTime));
hbox = gtk_hbox_new (FALSE, 6); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
...@@ -375,7 +375,7 @@ rcm_create_main (void) ...@@ -375,7 +375,7 @@ rcm_create_main (void)
Current.From = rcm_create_one_circle (SUM, C_("color-rotate", "From:")); Current.From = rcm_create_one_circle (SUM, C_("color-rotate", "From:"));
Current.To = rcm_create_one_circle (SUM, C_("color-rotate", "To:")); Current.To = rcm_create_one_circle (SUM, C_("color-rotate", "To:"));
vbox = gtk_vbox_new (FALSE, 12); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_widget_show (vbox); gtk_widget_show (vbox);
...@@ -409,7 +409,7 @@ rcm_create_gray (void) ...@@ -409,7 +409,7 @@ rcm_create_gray (void)
st->hue = 0; st->hue = 0;
st->satur = 0; st->satur = 0;
top_vbox = gtk_vbox_new (FALSE, 12); top_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (top_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (top_vbox), 12);
gtk_widget_show (top_vbox); gtk_widget_show (top_vbox);
...@@ -417,11 +417,11 @@ rcm_create_gray (void) ...@@ -417,11 +417,11 @@ rcm_create_gray (void)
gtk_box_pack_start (GTK_BOX (top_vbox), frame, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (top_vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame); gtk_widget_show (frame);
vbox = gtk_vbox_new (FALSE, 6); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (frame), vbox); gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_widget_show (vbox); gtk_widget_show (vbox);
hbox = gtk_hbox_new (FALSE, 0); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
...@@ -512,7 +512,7 @@ rcm_create_gray (void) ...@@ -512,7 +512,7 @@ rcm_create_gray (void)
gtk_box_pack_start (GTK_BOX (top_vbox), frame, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (top_vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame); gtk_widget_show (frame);
radio_box = gtk_vbox_new (FALSE, 6); radio_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (frame), radio_box); gtk_container_add (GTK_CONTAINER (frame), radio_box);
gtk_widget_show (radio_box); gtk_widget_show (radio_box);
...@@ -546,7 +546,7 @@ rcm_create_gray (void) ...@@ -546,7 +546,7 @@ rcm_create_gray (void)
gtk_box_pack_start (GTK_BOX (top_vbox), frame, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (top_vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame); gtk_widget_show (frame);
hbox = gtk_hbox_new (FALSE, 6); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_container_add (GTK_CONTAINER (frame), hbox); gtk_container_add (GTK_CONTAINER (frame), hbox);
gtk_widget_show (hbox); gtk_widget_show (hbox);
...@@ -586,7 +586,7 @@ rcm_create_units (void) ...@@ -586,7 +586,7 @@ rcm_create_units (void)
gtk_container_set_border_width (GTK_CONTAINER (frame), 12); gtk_container_set_border_width (GTK_CONTAINER (frame), 12);
gtk_widget_show (frame); gtk_widget_show (frame);
vbox = gtk_vbox_new (FALSE, 6); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (frame), vbox); gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_widget_show (vbox); gtk_widget_show (vbox);
...@@ -671,7 +671,7 @@ color_rotate_dialog (void) ...@@ -671,7 +671,7 @@ color_rotate_dialog (void)
Current.Bna->bna_frame = previews = rcm_create_previews (); Current.Bna->bna_frame = previews = rcm_create_previews ();
/* H-Box */ /* H-Box */
hbox = gtk_hbox_new (FALSE, 12); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 12); gtk_container_set_border_width (GTK_CONTAINER (hbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
hbox, TRUE, TRUE, 0); hbox, TRUE, TRUE, 0);
......
...@@ -406,7 +406,7 @@ alienmap2_dialog (void) ...@@ -406,7 +406,7 @@ alienmap2_dialog (void)
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
...@@ -507,7 +507,7 @@ alienmap2_dialog (void) ...@@ -507,7 +507,7 @@ alienmap2_dialog (void)
&wvals.blueangle); &wvals.blueangle);
/* Mode toggle box */ /* Mode toggle box */
hbox = gtk_hbox_new (FALSE, 6); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_table_attach (GTK_TABLE (top_table), hbox, 1, 2, 0, 1, gtk_table_attach (GTK_TABLE (top_table), hbox, 1, 2, 0, 1,
GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 0, 0); GTK_FILL | GTK_EXPAND, GTK_FILL | GTK_EXPAND, 0, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
...@@ -524,7 +524,7 @@ alienmap2_dialog (void) ...@@ -524,7 +524,7 @@ alienmap2_dialog (void)
gtk_box_pack_start (GTK_BOX (hbox), frame, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), frame, FALSE, FALSE, 0);
vbox = gtk_vbox_new (FALSE, 6); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
......
...@@ -606,7 +606,7 @@ build_dialog (GimpImageBaseType basetype, ...@@ -606,7 +606,7 @@ build_dialog (GimpImageBaseType basetype,
ui_manager = ui_manager_new (window); ui_manager = ui_manager_new (window);
main_vbox = gtk_vbox_new (FALSE, 0); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_add (GTK_CONTAINER (window), main_vbox); gtk_container_add (GTK_CONTAINER (window), main_vbox);
gtk_widget_show (main_vbox); gtk_widget_show (main_vbox);
...@@ -620,7 +620,7 @@ build_dialog (GimpImageBaseType basetype, ...@@ -620,7 +620,7 @@ build_dialog (GimpImageBaseType basetype,
gtk_separator_tool_item_set_draw (GTK_SEPARATOR_TOOL_ITEM (item), FALSE); gtk_separator_tool_item_set_draw (GTK_SEPARATOR_TOOL_ITEM (item), FALSE);
gtk_tool_item_set_expand (item, TRUE); gtk_tool_item_set_expand (item, TRUE);
vbox = gtk_vbox_new (FALSE, 2); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
gtk_box_pack_start (GTK_BOX (main_vbox), vbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
...@@ -643,7 +643,7 @@ build_dialog (GimpImageBaseType basetype, ...@@ -643,7 +643,7 @@ build_dialog (GimpImageBaseType basetype,
G_CALLBACK (button_press), G_CALLBACK (button_press),
NULL); NULL);
hbox = gtk_hbox_new (FALSE, 2); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
......
...@@ -1276,7 +1276,7 @@ struc_dialog (GimpDrawable *drawable) ...@@ -1276,7 +1276,7 @@ struc_dialog (GimpDrawable *drawable)
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
......
...@@ -236,7 +236,7 @@ blinds_dialog (GimpDrawable *drawable) ...@@ -236,7 +236,7 @@ blinds_dialog (GimpDrawable *drawable)
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
...@@ -250,7 +250,7 @@ blinds_dialog (GimpDrawable *drawable) ...@@ -250,7 +250,7 @@ blinds_dialog (GimpDrawable *drawable)
G_CALLBACK (dialog_update_preview), G_CALLBACK (dialog_update_preview),
drawable); drawable);
hbox = gtk_hbox_new (FALSE, 12); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
......
...@@ -245,7 +245,7 @@ sel_gauss_dialog (GimpDrawable *drawable) ...@@ -245,7 +245,7 @@ sel_gauss_dialog (GimpDrawable *drawable)
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
......
...@@ -491,7 +491,7 @@ gauss_dialog (gint32 image_ID, ...@@ -491,7 +491,7 @@ gauss_dialog (gint32 image_ID,
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
...@@ -501,7 +501,7 @@ gauss_dialog (gint32 image_ID, ...@@ -501,7 +501,7 @@ gauss_dialog (gint32 image_ID,
gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0);
gtk_widget_show (preview); gtk_widget_show (preview);
hbox = gtk_hbox_new (FALSE, 12); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
......
...@@ -1021,7 +1021,7 @@ mblur_dialog (gint32 image_ID, ...@@ -1021,7 +1021,7 @@ mblur_dialog (gint32 image_ID,
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
...@@ -1035,7 +1035,7 @@ mblur_dialog (gint32 image_ID, ...@@ -1035,7 +1035,7 @@ mblur_dialog (gint32 image_ID,
G_CALLBACK (mblur), G_CALLBACK (mblur),
drawable); drawable);
hbox = gtk_hbox_new (FALSE, 12); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
...@@ -1056,7 +1056,7 @@ mblur_dialog (gint32 image_ID, ...@@ -1056,7 +1056,7 @@ mblur_dialog (gint32 image_ID,
gtk_box_pack_start (GTK_BOX (hbox), center, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), center, FALSE, FALSE, 0);
gtk_widget_show (center); gtk_widget_show (center);
vbox = gtk_vbox_new (FALSE, 12); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_add (GTK_CONTAINER (center), vbox); gtk_container_add (GTK_CONTAINER (center), vbox);
gtk_widget_show (vbox); gtk_widget_show (vbox);
......
...@@ -360,7 +360,7 @@ borderaverage_dialog (gint32 image_ID, ...@@ -360,7 +360,7 @@ borderaverage_dialog (gint32 image_ID,
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
...@@ -370,7 +370,7 @@ borderaverage_dialog (gint32 image_ID, ...@@ -370,7 +370,7 @@ borderaverage_dialog (gint32 image_ID,
gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame); gtk_widget_show (frame);
hbox = gtk_hbox_new (FALSE, 6); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_container_add (GTK_CONTAINER (frame), hbox); gtk_container_add (GTK_CONTAINER (frame), hbox);
gtk_widget_show (hbox); gtk_widget_show (hbox);
...@@ -413,7 +413,7 @@ borderaverage_dialog (gint32 image_ID, ...@@ -413,7 +413,7 @@ borderaverage_dialog (gint32 image_ID,
gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame); gtk_widget_show (frame);
hbox = gtk_hbox_new (FALSE, 6); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_container_add (GTK_CONTAINER (frame), hbox); gtk_container_add (GTK_CONTAINER (frame), hbox);
gtk_widget_show (hbox); gtk_widget_show (hbox);
......
...@@ -790,11 +790,11 @@ bumpmap_dialog (void) ...@@ -790,11 +790,11 @@ bumpmap_dialog (void)
paned, TRUE, TRUE, 0); paned, TRUE, TRUE, 0);
gtk_widget_show (paned); gtk_widget_show (paned);
hbox = gtk_hbox_new (FALSE, 0); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_paned_pack1 (GTK_PANED (paned), hbox, TRUE, FALSE); gtk_paned_pack1 (GTK_PANED (paned), hbox, TRUE, FALSE);
gtk_widget_show (hbox); gtk_widget_show (hbox);
vbox = gtk_vbox_new (FALSE, 0); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 4); gtk_container_set_border_width (GTK_CONTAINER (vbox), 4);
gtk_box_pack_end (GTK_BOX (hbox), vbox, FALSE, FALSE, 0); gtk_box_pack_end (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
...@@ -809,16 +809,16 @@ bumpmap_dialog (void) ...@@ -809,16 +809,16 @@ bumpmap_dialog (void)
g_signal_connect (GIMP_PREVIEW (preview)->area, "event", g_signal_connect (GIMP_PREVIEW (preview)->area, "event",
G_CALLBACK (dialog_preview_events), preview); G_CALLBACK (dialog_preview_events), preview);
hbox = gtk_hbox_new (FALSE, 0); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_paned_pack2 (GTK_PANED (paned), hbox, FALSE, FALSE); gtk_paned_pack2 (GTK_PANED (paned), hbox, FALSE, FALSE);
gtk_widget_show (hbox); gtk_widget_show (hbox);
vbox = gtk_vbox_new (FALSE, 0); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 4); gtk_container_set_border_width (GTK_CONTAINER (vbox), 4);
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
vbox = gtk_vbox_new (FALSE, 0); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
......
...@@ -822,7 +822,7 @@ cartoon_dialog (GimpDrawable *drawable) ...@@ -822,7 +822,7 @@ cartoon_dialog (GimpDrawable *drawable)
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
......
...@@ -505,7 +505,7 @@ cm_dialog (CmParamsType *mix, ...@@ -505,7 +505,7 @@ cm_dialog (CmParamsType *mix,
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
main_vbox = gtk_vbox_new (FALSE, 12); main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
main_vbox, TRUE, TRUE, 0); main_vbox, TRUE, TRUE, 0);
...@@ -523,7 +523,7 @@ cm_dialog (CmParamsType *mix, ...@@ -523,7 +523,7 @@ cm_dialog (CmParamsType *mix,
gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame); gtk_widget_show (frame);
hbox = gtk_hbox_new (FALSE, 6); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_frame_set_label_widget (GTK_FRAME (frame), hbox); gtk_frame_set_label_widget (GTK_FRAME (frame), hbox);
gtk_widget_show (hbox); gtk_widget_show (hbox);
...@@ -628,7 +628,7 @@ cm_dialog (CmParamsType *mix, ...@@ -628,7 +628,7 @@ cm_dialog (CmParamsType *mix,
G_CALLBACK (cm_blue_scale_callback), G_CALLBACK (cm_blue_scale_callback),
mix); mix);
vbox = gtk_vbox_new (6, FALSE); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (main_vbox), vbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (main_vbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox); gtk_widget_show (vbox);
...@@ -661,7 +661,7 @@ cm_dialog (CmParamsType *mix, ...@@ -661,7 +661,7 @@ cm_dialog (CmParamsType *mix,
/*........................................................... */ /*........................................................... */
/* Horizontal box for file i/o */ /* Horizontal box for file i/o */
hbox = gtk_hbox_new (FALSE, 6); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_end (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0); gtk_box_pack_end (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
......
...@@ -359,7 +359,7 @@ checkerboard_dialog (gint32 image_ID, ...@@ -359,7 +359,7 @@ checkerboard_dialog (gint32 image_ID,
gimp_window_set_transient (GTK_WINDOW (dialog)); gimp_window_set_transient (GTK_WINDOW (dialog));
vbox = gtk_vbox_new (FALSE, 12); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12); gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
vbox, TRUE, TRUE, 0); vbox, TRUE, TRUE, 0);
...@@ -372,7 +372,7 @@ checkerboard_dialog (gint32 image_ID, ...@@ -372,7 +372,7 @@ checkerboard_dialog (gint32 image_ID,
G_CALLBACK (do_checkerboard_pattern), G_CALLBACK (do_checkerboard_pattern),
drawable); drawable);
hbox = gtk_hbox_new (FALSE, 0); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox); gtk_widget_show (hbox);
......
...@@ -1197,13 +1197,13 @@ CML_explorer_dialog (void) ...@@ -1197,13 +1197,13 @@ CML_explorer_dialog (void)
CML_preview_defer = TRUE; CML_preview_defer = TRUE;
hbox = gtk_hbox_new (FALSE, 12); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);