free the context list.

2007-07-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.c (gimp_finalize): free the context list.

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	removed unused vbox.

svn path=/trunk/; revision=22944
This commit is contained in:
Sven Neumann 2007-07-17 11:15:15 +00:00 committed by Sven Neumann
parent 340cd2f8e6
commit 9409179aa6
3 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2007-07-17 Sven Neumann <sven@gimp.org>
* app/core/gimp.c (gimp_finalize): free the context list.
* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
removed unused vbox.
2007-07-17 Simon Budig <simon@gimp.org>
* app/text/gimptext-private.h

View File

@ -411,6 +411,12 @@ gimp_finalize (GObject *object)
gimp->session_name = NULL;
}
if (gimp->context_list)
{
g_list_free (gimp->context_list);
gimp->context_list = NULL;
}
gimp_units_exit (gimp);
G_OBJECT_CLASS (parent_class)->finalize (object);

View File

@ -474,7 +474,6 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
GObject *config = G_OBJECT (tool_options);
GtkWidget *vbox = gimp_tool_options_gui (tool_options);
GtkWidget *vbox2;
GtkWidget *button;
GtkWidget *combo;
GtkWidget *table;
@ -487,8 +486,6 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
private = GIMP_RECTANGLE_OPTIONS_GET_PRIVATE (tool_options);
vbox2 = gtk_vbox_new (FALSE, 0);
/* Fixed Center */
button = gimp_prop_check_button_new (config, "fixed-center",
_("Expand from center"));