mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
unref the paint info objects after adding them to their container.
2002-08-22 Michael Natterer <mitch@gimp.org> * app/paint/paint.c: unref the paint info objects after adding them to their container. * app/widgets/toolbox.c: free the tooltip string after setting it. * app/gui/session.c: spit out the correct warning if (position x y) could not be parsed.
This commit is contained in:
parent
e62c2c58c7
commit
2314302c0a
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2002-08-22 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/paint/paint.c: unref the paint info objects after adding
|
||||
them to their container.
|
||||
|
||||
* app/widgets/toolbox.c: free the tooltip string after setting it.
|
||||
|
||||
* app/gui/session.c: spit out the correct warning if (position x y)
|
||||
could not be parsed.
|
||||
|
||||
2002-08-22 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* configure.in: bumped version number to 1.3.9
|
||||
|
|
|
@ -125,6 +125,8 @@ session_init (Gimp *gimp)
|
|||
|
||||
if (token == G_TOKEN_RIGHT_PAREN)
|
||||
g_scanner_set_scope (scanner, 0);
|
||||
else
|
||||
break;
|
||||
}
|
||||
else if (scanner->value.v_symbol == GINT_TO_POINTER (COLOR_HISTORY))
|
||||
{
|
||||
|
|
|
@ -141,4 +141,6 @@ paint_register (Gimp *gimp,
|
|||
pdb_string);
|
||||
|
||||
gimp_container_add (gimp->paint_info_list, GIMP_OBJECT (paint_info));
|
||||
|
||||
g_object_unref (G_OBJECT (paint_info));
|
||||
}
|
||||
|
|
|
@ -572,6 +572,8 @@ gimp_toolbox_button_accel_changed (GtkAccelGroup *accel_group,
|
|||
gimp_help_set_help_data (tool_button,
|
||||
tooltip,
|
||||
tool_info->help_data);
|
||||
|
||||
g_free (tooltip);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue