removed another warning.

2002-05-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/tools/tool-safe-mode.c: removed another warning.
This commit is contained in:
Sven Neumann 2002-05-03 14:02:23 +00:00 committed by Sven Neumann
parent a74a8997b4
commit 53ff0fe38e
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2002-05-03 Sven Neumann <sven@gimp.org>
* plug-ins/tools/tool-safe-mode.c: removed another warning.
2002-05-03 Michael Natterer <mitch@gimp.org>
* devel-docs/Makefile.am

View File

@ -68,7 +68,6 @@ tool_safe_mode_init (const gchar *tool_plug_in_path)
const gchar *dir_ent;
struct stat filestat;
#ifdef __EMX__
/*
* Change drive so opendir works.
@ -78,20 +77,20 @@ tool_safe_mode_init (const gchar *tool_plug_in_path)
_chdrive (tool_plug_in_path[0]);
}
#endif
g_message ("%s", tool_plug_in_path);
g_message ("tool_plug_in_path: %s", tool_plug_in_path);
path = gimp_path_parse (tool_plug_in_path, 16, TRUE, NULL);
g_message ("%p", path);
for (list = path; list; list = g_list_next (list))
{
g_message("reading directory %s", list->data);
/* Open directory */
g_message ("reading datafiles directory '%s'", (gchar *) list->data);
dir = g_dir_open ((gchar *) list->data, 0, NULL);
if (!dir)
{
g_message ("error reading datafiles directory \"%s\"",
g_message ("error reading datafiles directory '%s'",
(gchar *) list->data);
}
else