Gimp/app/tools
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
gimp-tools.c reset the tool options before deserializing so they have the correct 2004-10-06 17:21:22 +00:00
gimp-tools.h Started making the toolbox configurable. Addresses bug #105764. Not 2004-05-10 00:41:57 +00:00
gimpairbrushtool.c app/tools/gimpairbrushtool.c (gimp_airbrush_tool_register) add 2004-09-23 21:04:39 +00:00
gimpairbrushtool.h
gimpblendoptions.c removed the "Density" label. It wasn't helpful and caused the transform 2004-10-14 22:55:18 +00:00
gimpblendoptions.h
gimpblendtool.c app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimpblendtool.h app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimpbrightnesscontrasttool.c stripped the menu paths from the "menu_path". Will be renamed to 2004-04-29 13:19:28 +00:00
gimpbrightnesscontrasttool.h
gimpbrushtool.c app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimpbrushtool.h cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimpbucketfilloptions.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpbucketfilloptions.h
gimpbucketfilltool.c *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpbucketfilltool.h
gimpbycolorselecttool.c app/tools/gimpbycolorselecttool.c (gimp_by_color_select_tool_init) don't 2004-07-28 16:21:00 +00:00
gimpbycolorselecttool.h
gimpclonetool.c removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimpclonetool.h
gimpcolorbalancetool.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpcolorbalancetool.h
gimpcolorizetool.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpcolorizetool.h
gimpcoloroptions.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpcoloroptions.h Let all GimpImageMap tools remember the state of the preview toggle (bug 2004-02-22 14:28:53 +00:00
gimpcolorpickeroptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpcolorpickeroptions.h Fixed a 1.2 -> 2.0 regression that was forgotten: 2004-06-30 12:10:08 +00:00
gimpcolorpickertool.c app/tools/gimpbycolorselecttool.c (gimp_by_color_select_tool_init) don't 2004-07-28 16:21:00 +00:00
gimpcolorpickertool.h
gimpcolortool.c libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def 2004-07-27 16:39:00 +00:00
gimpcolortool.h Fixed a 1.2 -> 2.0 regression that was forgotten: 2004-06-30 12:10:08 +00:00
gimpconvolvetool.c added new function gimp_get_mod_string() which takes a GdkModifierType and 2004-06-28 23:30:57 +00:00
gimpconvolvetool.h
gimpcropoptions.c plugged a tiny memleak spotted by Olivier. 2004-09-29 15:40:29 +00:00
gimpcropoptions.h app/tools/gimpcropoptions.[ch] applied a patch from Jordi Gay that allows 2004-04-15 15:17:36 +00:00
gimpcroptool.c added "gboolean recalc_highlight" and call 2004-11-02 11:26:05 +00:00
gimpcroptool.h app/tools/gimpcropoptions.[ch] applied a patch from Jordi Gay that allows 2004-04-15 15:17:36 +00:00
gimpcurvestool.c app/tools/gimpimagemaptool.[ch] app/tools/gimpcurvestool.c allow to 2004-10-22 19:44:03 +00:00
gimpcurvestool.h app/tools/gimpcurvestool.[ch] removed obsoleted variables. 2004-02-25 12:31:18 +00:00
gimpdodgeburntool.c added new function gimp_get_mod_string() which takes a GdkModifierType and 2004-06-28 23:30:57 +00:00
gimpdodgeburntool.h app/actions/qmask-actions.c prepared qmask_actions_update() and the qmask 2004-04-21 10:55:45 +00:00
gimpdrawtool.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
gimpdrawtool.h added "use_offsets" parameter to gimp_draw_tool_draw_boundary() for 2004-02-21 16:06:56 +00:00
gimpeditselectiontool.c added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimpeditselectiontool.h added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimpellipseselecttool.c cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimpellipseselecttool.h
gimperasertool.c added new function gimp_get_mod_string() which takes a GdkModifierType and 2004-06-28 23:30:57 +00:00
gimperasertool.h
gimpflipoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpflipoptions.h
gimpfliptool.c *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpfliptool.h
gimpfreeselecttool.c renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpfreeselecttool.h
gimpfuzzyselecttool.c renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpfuzzyselecttool.h
gimphistogramoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimphistogramoptions.h call gimp_image_colormap_changed() after installing the colormap. 2004-02-12 14:09:35 +00:00
gimphuesaturationtool.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimphuesaturationtool.h
gimpimagemapoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpimagemapoptions.h app/tools/gimpcurvestool.[ch] app/tools/gimpimagemapoptions.[ch] 2004-02-25 10:23:43 +00:00
gimpimagemaptool.c call gimp_image_flush() after committing the image_map so the menus are 2004-11-11 10:16:57 +00:00
gimpimagemaptool.h app/tools/gimpimagemaptool.[ch] app/tools/gimpcurvestool.c allow to 2004-10-22 19:44:03 +00:00
gimpinkoptions-gui.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpinkoptions-gui.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpinktool.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimpinktool.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpiscissorstool.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
gimpiscissorstool.h
gimplevelstool.c renamed *levels-auto to *levels-stretch 2004-11-01 16:05:19 +00:00
gimplevelstool.h app/tools/gimpcurvestool.[ch] removed obsoleted variables. 2004-02-25 12:31:18 +00:00
gimpmagnifyoptions.c reset the tool options before deserializing so they have the correct 2004-10-06 17:21:22 +00:00
gimpmagnifyoptions.h app/tools/gimpmagnifyoptions.[ch] applied a patch from William Skaggs that 2004-05-10 17:02:20 +00:00
gimpmagnifytool.c cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimpmagnifytool.h
gimpmeasureoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpmeasureoptions.h
gimpmeasuretool.c implement GimpTool::key_press() and cancel the tool on GDK_Escape. Come 2004-10-08 15:32:30 +00:00
gimpmeasuretool.h
gimpmoveoptions.c app/config/gimpguiconfig.[ch] app/config/gimprc-blurbs.h 2004-10-30 15:02:39 +00:00
gimpmoveoptions.h app/config/gimpguiconfig.[ch] app/config/gimprc-blurbs.h 2004-10-30 15:02:39 +00:00
gimpmovetool.c added new function gimp_statusbar_push_length(), which works exactly like 2004-11-10 01:17:40 +00:00
gimpmovetool.h app/config/gimpguiconfig.[ch] app/config/gimprc-blurbs.h 2004-10-30 15:02:39 +00:00
gimppaintbrushtool.c cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimppaintbrushtool.h
gimppaintoptions-gui.c removed the "Density" label. It wasn't helpful and caused the transform 2004-10-14 22:55:18 +00:00
gimppaintoptions-gui.h
gimppainttool.c app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimppainttool.h cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimppenciltool.c app/tools/gimpairbrushtool.c (gimp_airbrush_tool_register) add 2004-09-23 21:04:39 +00:00
gimppenciltool.h
gimpperspectivetool.c app/core/gimp-transform-utils.[ch]. switch from x1,y1,x2,y2 bounding boxes 2004-10-27 17:56:02 +00:00
gimpperspectivetool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpposterizetool.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-23 20:29:46 +00:00
gimpposterizetool.h
gimprectselecttool.c renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimprectselecttool.h Sanitize rectangle and ellipse selection handling (bug #138237 and bug 2004-04-05 08:08:23 +00:00
gimpregionselecttool.c renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpregionselecttool.h
gimprotatetool.c configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gimprotatetool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpscaletool.c app/core/gimp-transform-utils.[ch]. switch from x1,y1,x2,y2 bounding boxes 2004-10-27 17:56:02 +00:00
gimpscaletool.h removed the recently added "gdouble aspect_ratio"... 2004-08-06 16:39:11 +00:00
gimpselectionoptions.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpselectionoptions.h
gimpselectiontool.c added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimpselectiontool.h renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpsheartool.c app/core/gimp-transform-utils.[ch]. switch from x1,y1,x2,y2 bounding boxes 2004-10-27 17:56:02 +00:00
gimpsheartool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpsmudgetool.c cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimpsmudgetool.h
gimpsourcetool.c removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimpsourcetool.h
gimptextoptions.c Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
gimptextoptions.h app/tools/gimptextoptions.[ch] introduced a proxy GimpText object that is 2004-03-14 17:54:23 +00:00
gimptexttool.c new function which checks if undo compression is possible: 2004-08-03 14:09:49 +00:00
gimptexttool.h preserve the text tool on image changes. Instead connect to the text 2004-03-22 14:32:47 +00:00
gimpthresholdtool.c removed the label between the spinbuttons, it looks silly. Converted tabs 2004-06-20 22:04:10 +00:00
gimpthresholdtool.h
gimptool.c added new function gimp_statusbar_push_length(), which works exactly like 2004-11-10 01:17:40 +00:00
gimptool.h added new function gimp_statusbar_push_length(), which works exactly like 2004-11-10 01:17:40 +00:00
gimptoolcontrol.c Replaced the concept of having a boolean indicating if an undo step 2004-07-29 14:16:21 +00:00
gimptoolcontrol.h Replaced the concept of having a boolean indicating if an undo step 2004-07-29 14:16:21 +00:00
gimptooloptions-gui.c removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimptooloptions-gui.h removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimptransformoptions.c removed the "Density" label. It wasn't helpful and caused the transform 2004-10-14 22:55:18 +00:00
gimptransformoptions.h Replaced "Preview" checkbutton with a combobox with options "Outline", 2004-07-02 21:56:30 +00:00
gimptransformtool-undo.c app/core/gimpundo.[ch] app/core/gimpitemundo.[ch] removed all _new() 2004-07-12 16:59:36 +00:00
gimptransformtool-undo.h
gimptransformtool.c dispatch GDK_Escape to GimpTool::key_press(). 2004-10-01 15:15:14 +00:00
gimptransformtool.h configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gimpvectoroptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpvectoroptions.h
gimpvectortool.c Switch to design mode when Escape gets pressed. Untabbified. 2004-10-25 13:29:32 +00:00
gimpvectortool.h avoid excessive use of strdup() and strcmp(). The strings are all constant 2004-08-30 15:08:02 +00:00
Makefile.am Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
makefile.msc updated app/actions/makefile.msc app/menus/makefile.msc : (new files) 2004-07-11 21:53:17 +00:00
tool_manager.c Replaced the concept of having a boolean indicating if an undo step 2004-07-29 14:16:21 +00:00
tool_manager.h app/tools/gimptool.[ch] added boolean return value to 2004-06-24 10:16:08 +00:00
tools-enums.c Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
tools-enums.h Applied a bunch of AIX portability fixes (bug #148813): 2004-07-30 00:57:22 +00:00
tools-types.h Let all GimpImageMap tools remember the state of the preview toggle (bug 2004-02-22 14:28:53 +00:00
tools-utils.c fixed a typo that broke the build. 2004-08-23 00:45:40 +00:00
tools-utils.h app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00