Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GIMP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2,655
Issues
2,655
List
Boards
Labels
Service Desk
Milestones
Merge Requests
34
Merge Requests
34
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
GIMP
Commits
dcb4c6e3
Commit
dcb4c6e3
authored
Sep 30, 2011
by
Michael Natterer
😴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plug-ins: use gtk_box_new()
parent
cb242a48
Changes
151
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
151 changed files
with
497 additions
and
475 deletions
+497
-475
plug-ins/color-rotate/color-rotate-dialog.c
plug-ins/color-rotate/color-rotate-dialog.c
+13
-13
plug-ins/common/alien-map.c
plug-ins/common/alien-map.c
+3
-3
plug-ins/common/animation-play.c
plug-ins/common/animation-play.c
+3
-3
plug-ins/common/apply-canvas.c
plug-ins/common/apply-canvas.c
+1
-1
plug-ins/common/blinds.c
plug-ins/common/blinds.c
+2
-2
plug-ins/common/blur-gauss-selective.c
plug-ins/common/blur-gauss-selective.c
+1
-1
plug-ins/common/blur-gauss.c
plug-ins/common/blur-gauss.c
+2
-2
plug-ins/common/blur-motion.c
plug-ins/common/blur-motion.c
+3
-3
plug-ins/common/border-average.c
plug-ins/common/border-average.c
+3
-3
plug-ins/common/bump-map.c
plug-ins/common/bump-map.c
+5
-5
plug-ins/common/cartoon.c
plug-ins/common/cartoon.c
+1
-1
plug-ins/common/channel-mixer.c
plug-ins/common/channel-mixer.c
+4
-4
plug-ins/common/checkerboard.c
plug-ins/common/checkerboard.c
+2
-2
plug-ins/common/cml-explorer.c
plug-ins/common/cml-explorer.c
+5
-5
plug-ins/common/color-cube-analyze.c
plug-ins/common/color-cube-analyze.c
+2
-2
plug-ins/common/color-exchange.c
plug-ins/common/color-exchange.c
+3
-3
plug-ins/common/color-to-alpha.c
plug-ins/common/color-to-alpha.c
+2
-2
plug-ins/common/colorify.c
plug-ins/common/colorify.c
+1
-1
plug-ins/common/colormap-remap.c
plug-ins/common/colormap-remap.c
+1
-1
plug-ins/common/compose.c
plug-ins/common/compose.c
+4
-4
plug-ins/common/contrast-retinex.c
plug-ins/common/contrast-retinex.c
+1
-1
plug-ins/common/convolution-matrix.c
plug-ins/common/convolution-matrix.c
+9
-9
plug-ins/common/cubism.c
plug-ins/common/cubism.c
+1
-1
plug-ins/common/curve-bend.c
plug-ins/common/curve-bend.c
+10
-10
plug-ins/common/decompose.c
plug-ins/common/decompose.c
+3
-3
plug-ins/common/deinterlace.c
plug-ins/common/deinterlace.c
+1
-1
plug-ins/common/depth-merge.c
plug-ins/common/depth-merge.c
+2
-2
plug-ins/common/despeckle.c
plug-ins/common/despeckle.c
+2
-2
plug-ins/common/destripe.c
plug-ins/common/destripe.c
+1
-1
plug-ins/common/diffraction.c
plug-ins/common/diffraction.c
+2
-2
plug-ins/common/displace.c
plug-ins/common/displace.c
+2
-2
plug-ins/common/edge-dog.c
plug-ins/common/edge-dog.c
+1
-1
plug-ins/common/edge-neon.c
plug-ins/common/edge-neon.c
+1
-1
plug-ins/common/edge-sobel.c
plug-ins/common/edge-sobel.c
+1
-1
plug-ins/common/edge.c
plug-ins/common/edge.c
+2
-2
plug-ins/common/emboss.c
plug-ins/common/emboss.c
+1
-1
plug-ins/common/engrave.c
plug-ins/common/engrave.c
+1
-1
plug-ins/common/file-aa.c
plug-ins/common/file-aa.c
+1
-1
plug-ins/common/file-csource.c
plug-ins/common/file-csource.c
+1
-1
plug-ins/common/file-gih.c
plug-ins/common/file-gih.c
+2
-2
plug-ins/common/file-html-table.c
plug-ins/common/file-html-table.c
+3
-3
plug-ins/common/file-mng.c
plug-ins/common/file-mng.c
+4
-4
plug-ins/common/file-pdf-load.c
plug-ins/common/file-pdf-load.c
+2
-2
plug-ins/common/file-pdf-save.c
plug-ins/common/file-pdf-save.c
+4
-4
plug-ins/common/file-ps.c
plug-ins/common/file-ps.c
+10
-8
plug-ins/common/file-raw.c
plug-ins/common/file-raw.c
+2
-2
plug-ins/common/file-svg.c
plug-ins/common/file-svg.c
+5
-5
plug-ins/common/file-tga.c
plug-ins/common/file-tga.c
+2
-2
plug-ins/common/file-tiff-load.c
plug-ins/common/file-tiff-load.c
+1
-1
plug-ins/common/file-tiff-save.c
plug-ins/common/file-tiff-save.c
+2
-2
plug-ins/common/file-wmf.c
plug-ins/common/file-wmf.c
+5
-5
plug-ins/common/file-xbm.c
plug-ins/common/file-xbm.c
+1
-1
plug-ins/common/file-xmc.c
plug-ins/common/file-xmc.c
+1
-1
plug-ins/common/film.c
plug-ins/common/film.c
+10
-9
plug-ins/common/filter-pack.c
plug-ins/common/filter-pack.c
+8
-8
plug-ins/common/fractal-trace.c
plug-ins/common/fractal-trace.c
+2
-2
plug-ins/common/grid.c
plug-ins/common/grid.c
+2
-2
plug-ins/common/hot.c
plug-ins/common/hot.c
+2
-2
plug-ins/common/illusion.c
plug-ins/common/illusion.c
+1
-1
plug-ins/common/iwarp.c
plug-ins/common/iwarp.c
+7
-6
plug-ins/common/jigsaw.c
plug-ins/common/jigsaw.c
+1
-1
plug-ins/common/lcms.c
plug-ins/common/lcms.c
+5
-5
plug-ins/common/lens-apply.c
plug-ins/common/lens-apply.c
+3
-3
plug-ins/common/lens-distortion.c
plug-ins/common/lens-distortion.c
+1
-1
plug-ins/common/lens-flare.c
plug-ins/common/lens-flare.c
+2
-2
plug-ins/common/mail.c
plug-ins/common/mail.c
+1
-1
plug-ins/common/max-rgb.c
plug-ins/common/max-rgb.c
+1
-1
plug-ins/common/mosaic.c
plug-ins/common/mosaic.c
+3
-3
plug-ins/common/newsprint.c
plug-ins/common/newsprint.c
+10
-10
plug-ins/common/nl-filter.c
plug-ins/common/nl-filter.c
+1
-1
plug-ins/common/noise-hsv.c
plug-ins/common/noise-hsv.c
+1
-1
plug-ins/common/noise-randomize.c
plug-ins/common/noise-randomize.c
+1
-1
plug-ins/common/noise-rgb.c
plug-ins/common/noise-rgb.c
+2
-2
plug-ins/common/noise-solid.c
plug-ins/common/noise-solid.c
+1
-1
plug-ins/common/noise-spread.c
plug-ins/common/noise-spread.c
+1
-1
plug-ins/common/nova.c
plug-ins/common/nova.c
+2
-2
plug-ins/common/oilify.c
plug-ins/common/oilify.c
+1
-1
plug-ins/common/photocopy.c
plug-ins/common/photocopy.c
+1
-1
plug-ins/common/pixelize.c
plug-ins/common/pixelize.c
+1
-1
plug-ins/common/plasma.c
plug-ins/common/plasma.c
+1
-1
plug-ins/common/polar-coords.c
plug-ins/common/polar-coords.c
+3
-2
plug-ins/common/qbist.c
plug-ins/common/qbist.c
+1
-1
plug-ins/common/red-eye-removal.c
plug-ins/common/red-eye-removal.c
+1
-1
plug-ins/common/ripple.c
plug-ins/common/ripple.c
+2
-2
plug-ins/common/sample-colorize.c
plug-ins/common/sample-colorize.c
+10
-8
plug-ins/common/screenshot.c
plug-ins/common/screenshot.c
+6
-6
plug-ins/common/sharpen.c
plug-ins/common/sharpen.c
+1
-1
plug-ins/common/shift.c
plug-ins/common/shift.c
+1
-1
plug-ins/common/sinus.c
plug-ins/common/sinus.c
+10
-10
plug-ins/common/softglow.c
plug-ins/common/softglow.c
+1
-1
plug-ins/common/sparkle.c
plug-ins/common/sparkle.c
+3
-3
plug-ins/common/sphere-designer.c
plug-ins/common/sphere-designer.c
+12
-10
plug-ins/common/threshold-alpha.c
plug-ins/common/threshold-alpha.c
+1
-1
plug-ins/common/tile-glass.c
plug-ins/common/tile-glass.c
+1
-1
plug-ins/common/tile-paper.c
plug-ins/common/tile-paper.c
+3
-3
plug-ins/common/tile-small.c
plug-ins/common/tile-small.c
+6
-5
plug-ins/common/tile.c
plug-ins/common/tile.c
+1
-1
plug-ins/common/unsharp-mask.c
plug-ins/common/unsharp-mask.c
+1
-1
plug-ins/common/value-propagate.c
plug-ins/common/value-propagate.c
+3
-3
plug-ins/common/van-gogh-lic.c
plug-ins/common/van-gogh-lic.c
+2
-2
plug-ins/common/video.c
plug-ins/common/video.c
+3
-3
plug-ins/common/warp.c
plug-ins/common/warp.c
+3
-3
plug-ins/common/waves.c
plug-ins/common/waves.c
+1
-1
plug-ins/common/web-page.c
plug-ins/common/web-page.c
+5
-5
plug-ins/common/whirl-pinch.c
plug-ins/common/whirl-pinch.c
+1
-1
plug-ins/common/wind.c
plug-ins/common/wind.c
+1
-1
plug-ins/file-bmp/bmp-write.c
plug-ins/file-bmp/bmp-write.c
+5
-5
plug-ins/file-fits/fits.c
plug-ins/file-fits/fits.c
+1
-1
plug-ins/file-ico/ico-dialog.c
plug-ins/file-ico/ico-dialog.c
+4
-4
plug-ins/file-jpeg/jpeg-exif.c
plug-ins/file-jpeg/jpeg-exif.c
+3
-3
plug-ins/file-jpeg/jpeg-save.c
plug-ins/file-jpeg/jpeg-save.c
+3
-3
plug-ins/flame/flame.c
plug-ins/flame/flame.c
+8
-8
plug-ins/fractal-explorer/fractal-explorer-dialogs.c
plug-ins/fractal-explorer/fractal-explorer-dialogs.c
+18
-15
plug-ins/gfig/gfig-bezier.c
plug-ins/gfig/gfig-bezier.c
+1
-1
plug-ins/gfig/gfig-dialog.c
plug-ins/gfig/gfig-dialog.c
+10
-10
plug-ins/gfig/gfig-preview.c
plug-ins/gfig/gfig-preview.c
+5
-4
plug-ins/gimpressionist/brush.c
plug-ins/gimpressionist/brush.c
+5
-5
plug-ins/gimpressionist/color.c
plug-ins/gimpressionist/color.c
+1
-1
plug-ins/gimpressionist/general.c
plug-ins/gimpressionist/general.c
+5
-5
plug-ins/gimpressionist/gimpressionist.c
plug-ins/gimpressionist/gimpressionist.c
+1
-1
plug-ins/gimpressionist/orientation.c
plug-ins/gimpressionist/orientation.c
+6
-6
plug-ins/gimpressionist/orientmap.c
plug-ins/gimpressionist/orientmap.c
+5
-4
plug-ins/gimpressionist/paper.c
plug-ins/gimpressionist/paper.c
+3
-3
plug-ins/gimpressionist/placement.c
plug-ins/gimpressionist/placement.c
+1
-1
plug-ins/gimpressionist/presets.c
plug-ins/gimpressionist/presets.c
+7
-7
plug-ins/gimpressionist/preview.c
plug-ins/gimpressionist/preview.c
+3
-2
plug-ins/gimpressionist/size.c
plug-ins/gimpressionist/size.c
+6
-6
plug-ins/gimpressionist/sizemap.c
plug-ins/gimpressionist/sizemap.c
+3
-2
plug-ins/gradient-flare/gradient-flare.c
plug-ins/gradient-flare/gradient-flare.c
+13
-13
plug-ins/help-browser/dialog.c
plug-ins/help-browser/dialog.c
+3
-3
plug-ins/ifs-compose/ifs-compose.c
plug-ins/ifs-compose/ifs-compose.c
+7
-7
plug-ins/imagemap/imap_browse.c
plug-ins/imagemap/imap_browse.c
+1
-1
plug-ins/imagemap/imap_cmd_gimp_guides.c
plug-ins/imagemap/imap_cmd_gimp_guides.c
+3
-3
plug-ins/imagemap/imap_cmd_guides.c
plug-ins/imagemap/imap_cmd_guides.c
+1
-1
plug-ins/imagemap/imap_default_dialog.c
plug-ins/imagemap/imap_default_dialog.c
+1
-1
plug-ins/imagemap/imap_edit_area_info.c
plug-ins/imagemap/imap_edit_area_info.c
+3
-3
plug-ins/imagemap/imap_grid.c
plug-ins/imagemap/imap_grid.c
+1
-1
plug-ins/imagemap/imap_main.c
plug-ins/imagemap/imap_main.c
+2
-2
plug-ins/imagemap/imap_polygon.c
plug-ins/imagemap/imap_polygon.c
+3
-1
plug-ins/imagemap/imap_preferences.c
plug-ins/imagemap/imap_preferences.c
+2
-2
plug-ins/imagemap/imap_selection.c
plug-ins/imagemap/imap_selection.c
+1
-1
plug-ins/imagemap/imap_settings.c
plug-ins/imagemap/imap_settings.c
+1
-1
plug-ins/imagemap/imap_statusbar.c
plug-ins/imagemap/imap_statusbar.c
+3
-1
plug-ins/lighting/lighting-ui.c
plug-ins/lighting/lighting-ui.c
+10
-10
plug-ins/map-object/map-object-ui.c
plug-ins/map-object/map-object-ui.c
+14
-14
plug-ins/maze/maze-dialog.c
plug-ins/maze/maze-dialog.c
+5
-5
plug-ins/pagecurl/pagecurl.c
plug-ins/pagecurl/pagecurl.c
+3
-2
plug-ins/print/print-page-layout.c
plug-ins/print/print-page-layout.c
+7
-7
plug-ins/script-fu/script-fu-console.c
plug-ins/script-fu/script-fu-console.c
+2
-2
plug-ins/script-fu/script-fu-interface.c
plug-ins/script-fu/script-fu-interface.c
+2
-2
plug-ins/win-snap/winsnap.c
plug-ins/win-snap/winsnap.c
+2
-2
No files found.
plug-ins/color-rotate/color-rotate-dialog.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/alien-map.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/animation-play.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/apply-canvas.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/blinds.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/blur-gauss-selective.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/blur-gauss.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/blur-motion.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/border-average.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/bump-map.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/cartoon.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/channel-mixer.c
View file @
dcb4c6e3
...
@@ -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
);
...
...
plug-ins/common/checkerboard.c
View file @
dcb4c6e3
...
@@ -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