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:
Michael Natterer 2002-08-22 14:48:28 +00:00 committed by Michael Natterer
parent e62c2c58c7
commit 2314302c0a
4 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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))
{

View File

@ -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));
}

View File

@ -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);
}
}