gimp/libgimpbase
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 Additions for Win32: Use -no-undefined. Use the gimpbase.def file. Produce 2002-03-29 23:10:18 +00:00
Makefile.am Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
gimpbase-private.c libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def 2004-07-27 16:39:00 +00:00
gimpbase-private.h libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files 2003-11-15 22:53:28 +00:00
gimpbase.def renamed gimp_flags_get_value() to gimp_flags_get_first_value(). Reordered 2004-11-10 12:44:13 +00:00
gimpbase.h libgimpbase/Makefile.am libgimpbase/gimpchecks.[ch] added 2004-09-03 00:06:21 +00:00
gimpbaseenums.c register some missing enums. 2004-10-25 19:29:00 +00:00
gimpbaseenums.h register some missing enums. 2004-10-25 19:29:00 +00:00
gimpbasetypes.c Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
gimpbasetypes.h Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
gimpchecks.c libgimpbase/gimpchecks.h moved check size and check color defines. It 2004-09-03 11:18:56 +00:00
gimpchecks.h libgimp/gimpunitcache.h libgimpbase/gimpchecks.h 2004-11-04 10:51:55 +00:00
gimpcpuaccel.c Reorged, to address bug #142907 and bug #143069. Accel implementations 2004-06-14 00:52:38 +00:00
gimpcpuaccel.h rewrote the x86 tests, moved debug printout from base.c to here. 2003-09-04 21:58:57 +00:00
gimpdatafiles.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
gimpdatafiles.h libgimp/gimpunitcache.h libgimpbase/gimpchecks.h 2004-11-04 10:51:55 +00:00
gimpenv.c Add new function file_utils_filename_to_utf8(), which is to be used when 2004-01-14 02:03:37 +00:00
gimpenv.h libgimpbase/gimpdatafiles.[ch] libgimpbase/gimpenv.[ch] 2003-11-23 15:35:27 +00:00
gimplimits.h libgimp/gimpunitcache.h libgimpbase/gimpchecks.h 2004-11-04 10:51:55 +00:00
gimpmemsize.c libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def 2004-07-27 16:39:00 +00:00
gimpmemsize.h libgimp/gimpunitcache.h libgimpbase/gimpchecks.h 2004-11-04 10:51:55 +00:00
gimpparasite.c removed enums GimpImageType and GimpImageBaseType ... 2004-07-29 12:33:15 +00:00
gimpparasite.h libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch] 2003-12-05 15:55:15 +00:00
gimpparasiteio.c clamp the pixpipe dimension to the allowed range. Fixes bug #137902. 2004-03-22 12:33:52 +00:00
gimpparasiteio.h libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch] 2003-12-05 15:55:15 +00:00
gimpprotocol.c app/config/gimpguiconfig.[ch] added gimprc option "show-help-button". 2004-10-04 16:21:52 +00:00
gimpprotocol.h app/config/gimpguiconfig.[ch] added gimprc option "show-help-button". 2004-10-04 16:21:52 +00:00
gimpsignal.c libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch] 2003-12-05 15:55:15 +00:00
gimpsignal.h bumped version number to 2.0pre3 (1.3.26), binary age 2, interface age 0. 2004-01-19 17:35:20 +00:00
gimpunit.c libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def 2004-07-27 16:39:00 +00:00
gimpunit.h libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def 2004-07-27 16:39:00 +00:00
gimputils.c changed based on a patch by Joao S. O. Bueno to remove mnemonics as used 2004-11-13 12:32:01 +00:00
gimputils.h renamed gimp_flags_get_value() to gimp_flags_get_first_value(). Reordered 2004-11-10 12:44:13 +00:00
gimpwin32-io.h libgimp/gimpunitcache.h libgimpbase/gimpchecks.h 2004-11-04 10:51:55 +00:00
gimpwire.c added assertions to make sure "count" is always >= 0. Turns the crash 2004-10-04 13:25:33 +00:00
gimpwire.h libgimpbase/gimpprotocol.[ch] pass "gpointer user_data" to all functions, 2002-05-16 17:41:38 +00:00
makefile.msc build but *dont link* display-enums.obj, widget-enums.obj and 2004-08-01 20:51:12 +00:00