modules: use gtk_box_new()

This commit is contained in:
Michael Natterer
2011-09-30 10:59:40 +02:00
parent 31fccf8272
commit 4373dccdc1
5 changed files with 5 additions and 5 deletions

View File

@ -135,7 +135,7 @@ colorsel_water_init (ColorselWater *water)
water->pressure_adjust = 1.0;
hbox = gtk_hbox_new (FALSE, 2);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
gtk_box_pack_start (GTK_BOX (water), hbox, TRUE, TRUE, 0);
frame = gtk_frame_new (NULL);

View File

@ -481,7 +481,7 @@ cdisplay_colorblind_configure (GimpColorDisplay *display)
GtkWidget *label;
GtkWidget *combo;
hbox = gtk_hbox_new (FALSE, 6);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
label = gtk_label_new_with_mnemonic (_("Color _deficiency type:"));
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);

View File

@ -232,7 +232,7 @@ cdisplay_gamma_configure (GimpColorDisplay *display)
GtkWidget *label;
GtkWidget *spinbutton;
hbox = gtk_hbox_new (FALSE, 6);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
label = gtk_label_new_with_mnemonic (_("_Gamma:"));
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);

View File

@ -232,7 +232,7 @@ cdisplay_contrast_configure (GimpColorDisplay *display)
GtkWidget *label;
GtkWidget *spinbutton;
hbox = gtk_hbox_new (FALSE, 6);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
label = gtk_label_new_with_mnemonic (_("Contrast c_ycles:"));
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);

View File

@ -202,7 +202,7 @@ cdisplay_lcms_configure (GimpColorDisplay *display)
if (! config)
return NULL;
vbox = gtk_vbox_new (FALSE, 12);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
hint = gimp_hint_box_new (_("This filter takes its configuration "
"from the Color Management section "