Commit 6d506d51 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

include "libgimpbase/gimpbase.h" where needed; removed now unnecessary

2004-01-19  Sven Neumann  <sven@gimp.org>

	* app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
	now unnecessary inclusions of "file/file-utils.h".
parent 30b72328
2004-01-19 Sven Neumann <sven@gimp.org>
* app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
now unnecessary inclusions of "file/file-utils.h".
2004-01-19 Sven Neumann <sven@gimp.org>
* app/file/file-utils.[ch]: removed file_utils_filename_to_utf8() ...
......@@ -33,6 +33,7 @@
#include <process.h> /* For _getpid() */
#endif
#include "libgimpbase/gimpbase.h"
#include "libgimpcolor/gimpcolor.h"
#include "base-types.h"
......@@ -40,8 +41,6 @@
#include "config/gimpbaseconfig.h"
#include "config/gimpconfig-path.h"
#include "file/file-utils.h"
#include "pixel-region.h"
#include "temp-buf.h"
......
......@@ -32,8 +32,10 @@
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
#ifdef G_OS_WIN32
#include <libgimpbase/gimpwin32-io.h>
#include "libgimpbase/gimpwin32-io.h"
#endif
#include "base-types.h"
......@@ -45,8 +47,6 @@
#define _O_TEMPORARY 0
#endif
#include "file/file-utils.h"
#include "tile.h"
#include "tile-private.h"
#include "tile-swap.h"
......
......@@ -26,9 +26,7 @@
#include <glib-object.h>
#include "libgimpbase/gimpenv.h"
#include "file/file-utils.h"
#include "libgimpbase/gimpbase.h"
#include "gimpconfig-path.h"
......@@ -161,7 +159,7 @@ gimp_config_path_expand_only (const gchar *path,
substs = g_renew (gchar *, substs, 2 * (n_substs + SUBSTS_ALLOC));
substs[2*n_substs] = token;
substs[2*n_substs + 1] = gimp_filename_to_utf8 (s);
substs[2*n_substs + 1] = (gchar *) gimp_filename_to_utf8 (s);
n_substs++;
length += strlen (s);
......
......@@ -29,8 +29,6 @@
#include "libgimpbase/gimpbase.h"
#include "file/file-utils.h"
#include "config-types.h"
#include "gimpconfig.h"
......
......@@ -37,8 +37,6 @@
#include "config-types.h"
#include "file/file-utils.h"
#include "gimpconfig.h"
#include "gimpconfig-deserialize.h"
#include "gimpconfig-error.h"
......
......@@ -41,8 +41,6 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "file/file-utils.h"
#include "config-types.h"
#include "gimpconfig-error.h"
......
......@@ -51,8 +51,6 @@
#include "config/gimpbaseconfig.h"
#include "file/file-utils.h"
#include "gimpbrush.h"
#include "gimpbrush-header.h"
#include "gimpbrushgenerated.h"
......
......@@ -51,8 +51,6 @@
#include "config/gimpbaseconfig.h"
#include "file/file-utils.h"
#include "gimpbrush.h"
#include "gimpbrush-header.h"
#include "gimpbrushgenerated.h"
......
......@@ -30,14 +30,13 @@
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpmath/gimpmath.h"
#include "core-types.h"
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimpbrushgenerated.h"
#include "gimp-intl.h"
......
......@@ -30,14 +30,13 @@
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpmath/gimpmath.h"
#include "core-types.h"
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimpbrushgenerated.h"
#include "gimp-intl.h"
......
......@@ -30,14 +30,13 @@
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpmath/gimpmath.h"
#include "core-types.h"
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimpbrushgenerated.h"
#include "gimp-intl.h"
......
......@@ -40,15 +40,14 @@
#include <io.h>
#endif
#include "libgimpmath/gimpmath.h"
#include "libgimpbase/gimpbase.h"
#include "libgimpbase/gimpparasiteio.h"
#include "libgimpmath/gimpmath.h"
#include "core-types.h"
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimpbrush.h"
#include "gimpbrush-header.h"
#include "gimpbrushpipe.h"
......
......@@ -40,15 +40,14 @@
#include <io.h>
#endif
#include "libgimpmath/gimpmath.h"
#include "libgimpbase/gimpbase.h"
#include "libgimpbase/gimpparasiteio.h"
#include "libgimpmath/gimpmath.h"
#include "core-types.h"
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimpbrush.h"
#include "gimpbrush-header.h"
#include "gimpbrushpipe.h"
......
......@@ -29,8 +29,6 @@
#include "libgimpbase/gimpbase.h"
#include "file/file-utils.h"
#include "core-types.h"
#include "gimpenvirontable.h"
......
......@@ -33,8 +33,6 @@
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimpimage.h"
#include "gimpgradient.h"
......
......@@ -35,8 +35,6 @@
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimppalette.h"
#include "gimp-intl.h"
......
......@@ -35,8 +35,6 @@
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimppalette.h"
#include "gimp-intl.h"
......
......@@ -35,8 +35,6 @@
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimppalette.h"
#include "gimp-intl.h"
......
......@@ -49,8 +49,6 @@
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimpimage.h"
#include "gimppattern.h"
#include "gimppattern-header.h"
......
......@@ -49,8 +49,6 @@
#include "base/temp-buf.h"
#include "file/file-utils.h"
#include "gimpimage.h"
#include "gimppattern.h"
#include "gimppattern-header.h"
......
......@@ -37,8 +37,6 @@
#include "core/gimptemplate.h"
#include "core/gimpunit.h"
#include "file/file-utils.h"
#include "display/gimpdisplay.h"
#include "display/gimpdisplayshell.h"
......
......@@ -34,8 +34,8 @@
#include <direct.h> /* _mkdir() */
#endif
#include "libgimpmath/gimpmath.h"
#include "libgimpbase/gimpbase.h"
#include "libgimpmath/gimpmath.h"
#include "libgimpwidgets/gimpwidgets.h"
#include "gui-types.h"
......@@ -43,8 +43,6 @@
#include "config/gimpconfig-utils.h"
#include "config/gimprc.h"
#include "file/file-utils.h"
#include "widgets/gimppropwidgets.h"
#include "widgets/gimpwidgets-utils.h"
......
......@@ -37,8 +37,6 @@
#include "core/gimptemplate.h"
#include "core/gimpunit.h"
#include "file/file-utils.h"
#include "display/gimpdisplay.h"
#include "display/gimpdisplayshell.h"
......
......@@ -33,8 +33,6 @@
#include "core/gimp.h"
#include "file/file-utils.h"
#include "themes.h"
#include "gimp-intl.h"
......
......@@ -34,8 +34,8 @@
#include <direct.h> /* _mkdir() */
#endif
#include "libgimpmath/gimpmath.h"
#include "libgimpbase/gimpbase.h"
#include "libgimpmath/gimpmath.h"
#include "libgimpwidgets/gimpwidgets.h"
#include "gui-types.h"
......@@ -43,8 +43,6 @@
#include "config/gimpconfig-utils.h"
#include "config/gimprc.h"
#include "file/file-utils.h"
#include "widgets/gimppropwidgets.h"
#include "widgets/gimpwidgets-utils.h"
......
......@@ -29,8 +29,6 @@
#include "libgimpbase/gimpbase.h"
#include "file/file-utils.h"
#include "core-types.h"
#include "gimpenvirontable.h"
......
......@@ -34,8 +34,6 @@
#include "core/gimp.h"
#include "core/gimpdrawable.h"
#include "file/file-utils.h"
#include "plug-in.h"
#include "plug-ins.h"
#include "plug-in-def.h"
......
......@@ -74,8 +74,6 @@
#include "core/gimp.h"
#include "core/gimpenvirontable.h"
#include "file/file-utils.h"
#include "plug-in.h"
#include "plug-ins.h"
#include "plug-in-debug.h"
......
......@@ -36,8 +36,6 @@
#include "core/gimpdrawable.h"
#include "core/gimpimage.h"
#include "file/file-utils.h"
#include "plug-in.h"
#include "plug-ins.h"
#include "plug-in-def.h"
......
......@@ -34,8 +34,6 @@
#include "core/gimp.h"
#include "core/gimpdrawable.h"
#include "file/file-utils.h"
#include "plug-in.h"
#include "plug-ins.h"
#include "plug-in-def.h"
......
......@@ -34,8 +34,6 @@
#include "core/gimp.h"
#include "file/file-utils.h"
#include "plug-ins.h"
#include "plug-in-def.h"
#include "plug-in-proc.h"
......
......@@ -74,8 +74,6 @@
#include "core/gimp.h"
#include "core/gimpenvirontable.h"
#include "file/file-utils.h"
#include "plug-in.h"
#include "plug-ins.h"
#include "plug-in-debug.h"
......
......@@ -36,8 +36,6 @@
#include "core/gimpdrawable.h"
#include "core/gimpimage.h"
#include "file/file-utils.h"
#include "plug-in.h"
#include "plug-ins.h"
#include "plug-in-def.h"
......
......@@ -50,8 +50,6 @@
#include "core/gimpimagemap.h"
#include "core/gimptoolinfo.h"
#include "file/file-utils.h"
#include "widgets/gimpcursor.h"
#include "widgets/gimpenummenu.h"
#include "widgets/gimphelp-ids.h"
......
......@@ -49,8 +49,6 @@
#include "core/gimpimagemap.h"
#include "core/gimptoolinfo.h"
#include "file/file-utils.h"
#include "widgets/gimpenummenu.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimphistogramview.h"
......
......@@ -24,6 +24,8 @@
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
#include "vectors-types.h"
#include "core/gimpimage.h"
......@@ -31,8 +33,6 @@
#include "core/gimplist.h"
#include "core/gimpunit.h"
#include "file/file-utils.h"
#include "gimpanchor.h"
#include "gimpstroke.h"
#include "gimpbezierstroke.h"
......
......@@ -49,14 +49,13 @@
#include <gtk/gtk.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpwidgets/gimpwidgets.h"
#include "widgets-types.h"
#include "core/gimp.h"
#include "file/file-utils.h"
#include "gimperrorconsole.h"
#include "gimphelp-ids.h"
#include "gimpitemfactory.h"
......
......@@ -28,14 +28,13 @@
#include <gtk/gtk.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpwidgets/gimpwidgets.h"
#include "widgets-types.h"
#include "core/gimpmarshal.h"
#include "file/file-utils.h"
#include "gimpenummenu.h"
#include "gimphelp-ids.h"
#include "gimptexteditor.h"
......
......@@ -25,13 +25,13 @@
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
#include "core/core-types.h"
#include "core/gimp.h"
#include "core/gimpimage.h"
#include "file/file-utils.h"
#include "pdb/procedural_db.h"
#include "plug-in/plug-ins.h"
......
......@@ -26,6 +26,15 @@ Utilities of general interest
@Returns:
<!-- ##### FUNCTION gimp_filename_to_utf8 ##### -->
<para>
</para>
@filename:
@Returns:
<!-- ##### FUNCTION gimp_utf8_strtrim ##### -->
<para>
......
......@@ -26,9 +26,7 @@
#include <glib-object.h>
#include "libgimpbase/gimpenv.h"
#include "file/file-utils.h"
#include "libgimpbase/gimpbase.h"
#include "gimpconfig-path.h"
......@@ -161,7 +159,7 @@ gimp_config_path_expand_only (const gchar *path,
substs = g_renew (gchar *, substs, 2 * (n_substs + SUBSTS_ALLOC));
substs[2*n_substs] = token;
substs[2*n_substs + 1] = gimp_filename_to_utf8 (s);
substs[2*n_substs + 1] = (gchar *) gimp_filename_to_utf8 (s);
n_substs++;
length += strlen (s);
......
......@@ -29,8 +29,6 @@
#include "libgimpbase/gimpbase.h"
#include "file/file-utils.h"
#include "config-types.h"
#include "gimpconfig.h"
......
......@@ -41,8 +41,6 @@
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "file/file-utils.h"
#include "config-types.h"
#include "gimpconfig-error.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment