Gimp/plug-ins/common
Manish Singh 5d01581069 Fix a bunch of warnings from Sparse:
2004-11-13  Manish Singh  <yosh@gimp.org>

        Fix a bunch of warnings from Sparse:

        * app/actions/dockable-commands.c
        * app/actions/layers-actions.c
        * app/actions/view-commands.c
        * app/base/pixel-surround.c
        * app/config/gimpconfig-utils.c
        * app/config/gimpscanner.c
        * app/core/gimpbrushgenerated.c
        * app/core/gimpcontainer.c
        * app/core/gimpimage.c
        * app/dialogs/palette-import-dialog.c
        * app/file/gimprecentlist.c
        * app/plug-in/plug-in-params.c
        * app/text/gimptext-compat.c
        * app/text/gimptext-parasite.c
        * app/vectors/gimpbezierstroke.c
        * app/vectors/gimpstroke.c
        * app/widgets/gimpcellrendereraccel.c
        * app/widgets/gimpselectiondata.c
        * app/xcf/xcf.c
        * libgimp/gimp.c
        * libgimpthumb/gimpthumb-utils.c
        * libgimpthumb/gimpthumbnail.c
        * modules/cdisplay_proof.c
        * plug-ins/Lighting/lighting_ui.c
        * plug-ins/common/csource.c
        * plug-ins/common/glasstile.c
        * plug-ins/common/nova.c
        * plug-ins/common/pcx.c
        * plug-ins/common/pnm.c
        * plug-ins/common/randomize.c
        * plug-ins/common/screenshot.c
        * plug-ins/common/sel_gauss.c
        * plug-ins/common/spheredesigner.c
        * plug-ins/common/wind.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-dobject.c
        * plug-ins/gimpressionist/gimpressionist.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/print/gimp_main_window.c
        * plug-ins/print/print.c: Cleanup integer vs. pointer confusion.

        * app/base/temp-buf.c
        * app/dialogs/about-dialog.c
        * plug-ins/common/bumpmap.c
        * plug-ins/common/jigsaw.c
        * plug-ins/gfig/gfig-dobject.c: Cosmetic cleanups.

        * app/config/gimpconfig-deserialize.c
        * app/config/gimpconfig-path.c
        * app/config/gimpconfigwriter.c
        * app/core/gimpgradient.c
        * app/tools/gimpdrawtool.c
        * plug-ins/common/nlfilt.c
        * plug-ins/common/unsharp.c
        * plug-ins/common/zealouscrop.c: Define inline functions before they
        are used.

        * app/core/gimpdrawable-blend.c: PixelRegion definition was changed
        some time ago, but the initialization here didn't change. Fix it.

        * app/plug-in/plug-in-rc.c (plug_in_extra_deserialize): No need to
        assign token twice in a row.

        * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): No
        need to initialize file_data, since the code fills out all the fields.

        * plug-ins/common/CML_explorer.c
        * plug-ins/common/vpropagate.c: Declare function pointers fully.

        * plug-ins/common/grid.c (pix_composite): G_INLINE_FUNC isn't needed,
        we assume we can use the "inline" keyword always.

        * plug-ins/common/psd_save.c
        * plug-ins/common/vinvert.c
        * plug-ins/gfig/gfig-arc.c
        * plug-ins/gfig/gfig-bezier.c
        * plug-ins/gfig/gfig-circle.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-dobject.c
        * plug-ins/gfig/gfig-ellipse.c
        * plug-ins/gfig/gfig-line.c
        * plug-ins/gfig/gfig-poly.c
        * plug-ins/gfig/gfig-spiral.c
        * plug-ins/gfig/gfig-star.c
        * plug-ins/gfig/gfig.c
        * plug-ins/gimpressionist/orientmap.c
        * plug-ins/gimpressionist/placement.c
        * plug-ins/gimpressionist/sizemap.c
        * plug-ins/imagemap/imap_grid.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_preferences.c
        * plug-ins/imagemap/imap_settings.c
        * plug-ins/maze/maze.c
        * plug-ins/sel2path/curve.c
        * plug-ins/sel2path/fit.c
        * plug-ins/sel2path/pxl-outline.c
        * plug-ins/sel2path/spline.c
        * plug-ins/xjt/xjt.c: Functions with no args should be declared
        with (void).

        * plug-ins/common/retinex.c (MSRCR): Initialize max_preview to quiet
        the compiler.
2004-11-14 02:50:33 +00:00
..
.cvsignore added this new plug-in. Addresses bug #135594 2004-10-25 22:02:32 +00:00
aa.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
AlienMap2.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
align_layers.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
animationplay.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
animoptimize.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
apply_lens.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
autocrop.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
autostretch_hsv.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
blinds.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
blur.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
borderaverage.c smallish cleanups. 2004-10-16 23:42:02 +00:00
bumpmap.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
c_astretch.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
cartoon.c libgimpwidgets/gimppreview.[ch] added gimp_preview_draw_buffer(). 2004-09-29 15:33:02 +00:00
ccanalyze.c plug-ins/common/ccanalyze.c plug-ins/common/uniteditor.c 2004-11-04 10:06:22 +00:00
CEL.c plug-ins/common/CEL.c plug-ins/common/CML_explorer.c 2004-11-08 11:24:43 +00:00
channel_mixer.c plug-ins/common/CEL.c plug-ins/common/CML_explorer.c 2004-11-08 11:24:43 +00:00
checkerboard.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
CML_explorer.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
color_enhance.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
colorify.c Added a preview. 2004-10-13 21:21:48 +00:00
colortoalpha.c Added a preview. 2004-10-17 16:03:56 +00:00
compose.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
compressor.c added missing bzip2 command lines for Win32. 2004-11-02 12:37:25 +00:00
convmatrix.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
csource.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
cubism.c Added a preview and done some cleanups. 2004-10-13 16:58:43 +00:00
curve_bend.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
decompose.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
deinterlace.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
depthmerge.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
despeckle.c applied a patch from Geert Jordaens that improves the Despeckle algorithm. 2004-10-30 12:57:03 +00:00
destripe.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
dicom.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
diffraction.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
displace.c Added a preview and minor cleanups. Can someone provide useful testcases 2004-10-16 22:43:56 +00:00
dog.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
edge.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
emboss.c use a GimpDrawablePreview instead of a GimpAspectPreview, since this 2004-10-14 18:11:43 +00:00
engrave.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
exchange.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
film.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
flarefx.c plug-ins/common/flarefx.c changed preview cursors to GDK_CROSSHAIR. 2004-10-29 10:36:16 +00:00
fp.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
fractaltrace.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
gauss.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
gbr.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
gee.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
gee_zoom.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
gif.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
gifload.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
gih.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
glasstile.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
glob.c the glob() function is not available on Win32 and also isn't necessarily 2004-06-07 18:47:59 +00:00
gqbist.c plug-ins/common/CEL.c plug-ins/common/CML_explorer.c 2004-11-08 11:24:43 +00:00
gradmap.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
grid.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
gtm.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
guillotine.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
header.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
hot.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
illusion.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
iwarp.c plug-ins/common/flarefx.c changed preview cursors to GDK_CROSSHAIR. 2004-10-29 10:36:16 +00:00
jigsaw.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
jpeg.c pass the name to filesystem encoding to gimp_image_set_filename(). Fixes 2004-10-29 15:15:25 +00:00
laplace.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
lic.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
mail.c added a menu icon (compiled-in). 2004-11-10 15:52:49 +00:00
Makefile.am added this new plug-in. Addresses bug #135594 2004-10-25 22:02:32 +00:00
mapcolor.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
max_rgb.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
mblur.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
mkgen.pl plug-ins/common/cartoon.c plug-ins/common/neon.c 2004-08-11 15:25:14 +00:00
mng.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
mosaic.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
neon.c fixed the handling of drawable with alpha. 2004-10-14 20:55:08 +00:00
newsprint.c removed an unused variable. 2004-10-31 19:40:11 +00:00
nlfilt.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
noisify.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
normalize.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
nova.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
oilify.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
papertile.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
pat.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
pcx.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
photocopy.c libgimpwidgets/gimppreview.[ch] added gimp_preview_draw_buffer(). 2004-09-29 15:33:02 +00:00
pix.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
pixelize.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
plasma.c Fixed handling of 1x1 selection and selection out of drawable. 2004-10-31 23:44:12 +00:00
plugin-browser.c fixed capitalization of notebook tab label. 2004-11-10 13:01:06 +00:00
plugin-defs.pl added this new plug-in. Addresses bug #135594 2004-10-25 22:02:32 +00:00
png.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
pnm.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
polar.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
postscript.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
procedure-browser.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
psd.c Skip resources with unknown signatures instead of quiting. Fixes bug 2004-11-10 08:23:05 +00:00
psd_save.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
psp.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
randomize.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
raw.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
retinex.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
ripple.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
rotate.c removed preserve_transparency #defines. This is the last of the #defines 2003-12-12 15:49:51 +00:00
sample_colorize.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
scatter_hsv.c ported to GimpDrawablePreview, and removed many lines of codes. 2004-10-14 22:07:52 +00:00
screenshot.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
sel_gauss.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
semiflatten.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
sharpen.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
shift.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
sinus.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
smooth_palette.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
snoise.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
sobel.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
softglow.c libgimpwidgets/gimppreview.[ch] libgimpwidgets/gimpscrolledpreview.[ch] 2004-09-29 13:39:23 +00:00
sparkle.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
spheredesigner.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
spread.c Ported to GimpDrawablePreview, the previous preview was absolutely 2004-10-14 20:37:04 +00:00
struc.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
sunras.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
svg.c app/plug-in/plug-in-proc-def.[ch] app/plug-in/plug-in-rc.c allow to 2004-11-13 17:06:06 +00:00
tga.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
threshold_alpha.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
tiff.c deprecated all functions. 2004-11-02 13:44:13 +00:00
tile.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
tileit.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
tiler.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
uniteditor.c undeprecated by using a GtkUIManager for creating the toolbar. Some 2004-11-04 15:58:49 +00:00
unsharp.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
url.c removed debug output. 2004-11-09 00:06:46 +00:00
video.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
vinvert.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
vpropagate.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
warp.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
waves.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
webbrowser.c changed DEFAULT_WEB_BROWSER to "mozilla %s" 2003-11-16 22:57:07 +00:00
whirlpinch.c all plug-ins except script-fu: removed the translation marks from the menu 2004-10-12 21:48:39 +00:00
winclipboard.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
wind.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
winprint.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
wmf.c plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c 2004-10-28 12:12:52 +00:00
xbm.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
xpm.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
xwd.c plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c 2004-11-02 12:00:25 +00:00
zealouscrop.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00