Gimp/app/text
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 configure.in app/Makefile.am added new directory text. 2003-01-29 22:20:09 +00:00
gimp-fonts.c use GTK_STOCK_SELECT_FONT stock icon instead of text tool icon. 2003-11-05 01:07:56 +00:00
gimp-fonts.h Font configuration stuff: You can rescan for fonts on the fly now. A 2003-09-01 18:20:56 +00:00
gimpfont.c take both logical and ink rectangle into account to avoid clipping away 2004-05-28 12:46:54 +00:00
gimpfont.h require gtk+ >= 2.2. 2003-03-25 22:13:10 +00:00
gimpfontlist.c tools/Makefile.am app/Makefile.am app, tools, and user dir bumped to 2004-04-16 00:56:25 +00:00
gimpfontlist.h added gimp_font_list_restore() which loads the fonts (not yet). 2003-03-25 22:53:10 +00:00
gimptext-bitmap.c cleanup. 2004-09-27 12:30:04 +00:00
gimptext-bitmap.h app/text/Makefile.am new files that hold yet unused GimpItem transform 2003-08-15 19:45:41 +00:00
gimptext-compat.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
gimptext-compat.h Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
gimptext-parasite.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
gimptext-parasite.h app/text/Makefile.am new files that load and save text layers to/from XCF. 2003-10-27 21:50:41 +00:00
gimptext-private.h app/text/Makefile.am new files that hold yet unused GimpItem transform 2003-08-15 19:45:41 +00:00
gimptext-vectors.c cleanup. 2004-09-27 12:30:04 +00:00
gimptext-vectors.h Generalized text rendering and added a framework for creating GimpVectors 2003-07-20 21:23:01 +00:00
gimptext-xlfd.c cleanup. 2004-09-27 12:30:04 +00:00
gimptext-xlfd.h added convenience function gimp_text_set_font_from_xlfd(). Improved and 2003-06-25 11:43:36 +00:00
gimptext.c cleanup. 2004-09-27 12:30:04 +00:00
gimptext.h app/text/gimptext.[ch] added back "box-unit" property; it makes sense to 2003-10-26 12:07:05 +00:00
gimptextlayer-transform.c updated the (still unused) unused text transformation code. 2004-06-04 23:42:05 +00:00
gimptextlayer-transform.h updated the (still unused) unused text transformation code. 2004-06-04 23:42:05 +00:00
gimptextlayer-xcf.c cleanup. 2004-09-27 12:30:04 +00:00
gimptextlayer-xcf.h added a missing call to gimp_image_flush(). 2004-03-18 15:27:23 +00:00
gimptextlayer.c added "const gchar *stroke_desc" to the GimpItemClass struct and always 2004-04-15 14:41:36 +00:00
gimptextlayer.h added gimp_text_layer_set(), a function that calls g_object_set() on the 2004-03-19 22:12:18 +00:00
gimptextlayout-render.c multiply the layout's offsets with PANGO_SCALE, not -PANGO_SCALE. Fixes 2003-12-16 13:33:02 +00:00
gimptextlayout-render.h Generalized text rendering and added a framework for creating GimpVectors 2003-07-20 21:23:01 +00:00
gimptextlayout.c workaround Pango bug #143542 (PangoFT2Fontmap leak, see also bug #148997). 2004-09-21 22:39:07 +00:00
gimptextlayout.h app/text/Makefile.am app/text/gimptextlayout-private.h new files that 2003-07-06 18:43:58 +00:00
gimptextundo.c added new function gimp_g_value_get_memsize() that attempts to calculate 2004-07-13 10:09:22 +00:00
gimptextundo.h removed member "guint time"... 2004-07-12 17:10:34 +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 build sanity.obj app/text/makefile.msc : gimptextundo.obj 2004-04-11 15:21:09 +00:00
text-enums.c Don't store human readable and translatable enum/flag strings in 2004-10-25 17:55:25 +00:00
text-enums.h removed enum SizeType. 2004-07-05 20:55:05 +00:00
text-types.h added gimp_undo_type_to_name() a similar function used to live in 2004-03-21 23:14:21 +00:00