mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
55aa4776f7
commit
38a1e54223
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue