[gimp] modules: use gtk_box_new()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] modules: use gtk_box_new()
- Date: Fri, 30 Sep 2011 09:00:38 +0000 (UTC)
commit 4373dccdc1f1fb306fbd1f8f26fb49b1af52f1dd
Author: Michael Natterer <mitch gimp org>
Date: Fri Sep 30 10:59:40 2011 +0200
modules: use gtk_box_new()
modules/color-selector-water.c | 2 +-
modules/display-filter-color-blind.c | 2 +-
modules/display-filter-gamma.c | 2 +-
modules/display-filter-high-contrast.c | 2 +-
modules/display-filter-lcms.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/modules/color-selector-water.c b/modules/color-selector-water.c
index b794673..f9bd694 100644
--- a/modules/color-selector-water.c
+++ b/modules/color-selector-water.c
@@ -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);
diff --git a/modules/display-filter-color-blind.c b/modules/display-filter-color-blind.c
index 3b06f5c..49daefb 100644
--- a/modules/display-filter-color-blind.c
+++ b/modules/display-filter-color-blind.c
@@ -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);
diff --git a/modules/display-filter-gamma.c b/modules/display-filter-gamma.c
index 07cfbad..2287f59 100644
--- a/modules/display-filter-gamma.c
+++ b/modules/display-filter-gamma.c
@@ -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);
diff --git a/modules/display-filter-high-contrast.c b/modules/display-filter-high-contrast.c
index f1739d3..a779fe0 100644
--- a/modules/display-filter-high-contrast.c
+++ b/modules/display-filter-high-contrast.c
@@ -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);
diff --git a/modules/display-filter-lcms.c b/modules/display-filter-lcms.c
index bde1610..c99b0f8 100644
--- a/modules/display-filter-lcms.c
+++ b/modules/display-filter-lcms.c
@@ -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 "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]