Finish the job. Make sure this component isn't unregistered multiple

times.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12883 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2006-01-19 06:01:12 +00:00
parent 58a67a439f
commit 03927d2747
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2006-01-19 David Hampton <hampton@employees.org>
* src/gnome-search/gnc-general-search.c: Finish the job. Make sure
this component isn't unregistered multiple times.
2006-01-18 Derek Atkins <derek@ihtfp.com>
* src/bin/gnucash-bin.c:

View File

@@ -161,6 +161,7 @@ gnc_general_search_destroy (GtkObject *object)
if (priv->component_id) {
/* Unregister ourselves */
gnc_unregister_gui_component (priv->component_id);
priv->component_id = 0;
}
if (GTK_OBJECT_CLASS (parent_class)->destroy)