Commit 38a1e542 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/pdb/gimprc_cmds.c added a missing g_strdup() that caused

2001-11-14  Sven Neumann  <sven@gimp.org>

	* app/pdb/gimprc_cmds.c
	* tools/pdbgen/pdb/gimprc.pdb: added a missing g_strdup() that caused
	gimp_get_default_comment() to free the global default comment.
parent 55aa4776
2001-11-14 Sven Neumann <sven@gimp.org>
* app/pdb/gimprc_cmds.c
* tools/pdbgen/pdb/gimprc.pdb: added a missing g_strdup() that caused
gimp_get_default_comment() to free the global default comment.
2001-11-14 Michael Natterer <mitch@gimp.org>
* app/tools/tool_manager.[ch]: added
......
......@@ -169,7 +169,7 @@ get_default_comment_invoker (Gimp *gimp,
Argument *return_args;
gchar *comment;
comment = gimp->config->default_comment;
comment = g_strdup (gimp->config->default_comment);
success = TRUE;
return_args = procedural_db_return_args (&get_default_comment_proc, success);
......
......@@ -141,7 +141,7 @@ sub get_default_comment {
%invoke = (
code => <<'CODE'
{
comment = gimp->config->default_comment;
comment = g_strdup (gimp->config->default_comment);
success = TRUE;
}
CODE
......
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