use GIMP_LOG() for debug output.

2008-07-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c: use GIMP_LOG() for debug output.


svn path=/trunk/; revision=26077
This commit is contained in:
Sven Neumann 2008-07-07 06:51:20 +00:00 committed by Sven Neumann
parent d326e29b70
commit b8a0f6b0e9
2 changed files with 8 additions and 9 deletions

View file

@ -1,3 +1,7 @@
2008-07-07 Sven Neumann <sven@gimp.org>
* app/widgets/gimphelp.c: use GIMP_LOG() for debug output.
2008-07-06 Sven Neumann <sven@gimp.org>
* app/widgets/gimphelp.c: if the user asks for help and the user

View file

@ -125,12 +125,11 @@ gimp_help_show (Gimp *gimp,
if (help_id && strlen (help_id))
idle_help->help_id = g_strdup (help_id);
g_idle_add ((GSourceFunc) gimp_idle_help, idle_help);
GIMP_LOG (HELP, "request for help-id '%s' from help-domain '%s'",
help_id ? help_id : "(null)",
help_domain ? help_domain : "(null)");
if (gimp->be_verbose)
g_print ("HELP: request for help-id '%s' from help-domain '%s'\n",
help_id ? help_id : "(null)",
help_domain ? help_domain : "(null)");
g_idle_add ((GSourceFunc) gimp_idle_help, idle_help);
}
}
@ -198,10 +197,6 @@ gimp_idle_help (GimpIdleHelp *idle_help)
return FALSE;
}
GIMP_LOG (HELP, "Domain = '%s', ID = '%s'",
idle_help->help_domain ? idle_help->help_domain : "NULL",
idle_help->help_id ? idle_help->help_id : "NULL");
if (config->help_browser == GIMP_HELP_BROWSER_GIMP)
{
if (gimp_help_browser (idle_help->gimp))