r16568 - gnucash/trunk/src/gnome-utils - #487326: Remove account separator gconf callback when closing preferences dialog.
Andreas Köhler
andi5 at cvs.gnucash.org
Tue Oct 16 18:44:49 EDT 2007
Author: andi5
Date: 2007-10-16 18:44:48 -0400 (Tue, 16 Oct 2007)
New Revision: 16568
Trac: http://svn.gnucash.org/trac/changeset/16568
Modified:
gnucash/trunk/src/gnome-utils/dialog-preferences.c
Log:
#487326: Remove account separator gconf callback when closing preferences dialog.
Modified: gnucash/trunk/src/gnome-utils/dialog-preferences.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-preferences.c 2007-10-16 22:18:27 UTC (rev 16567)
+++ gnucash/trunk/src/gnome-utils/dialog-preferences.c 2007-10-16 22:44:48 UTC (rev 16568)
@@ -1359,6 +1359,10 @@
gnc_save_window_size(GCONF_SECTION, GTK_WINDOW(dialog));
gnc_unregister_gui_component_by_data(DIALOG_PREFERENCES_CM_CLASS,
dialog);
+ gnc_gconf_general_remove_cb(
+ KEY_ACCOUNT_SEPARATOR,
+ (GncGconfGeneralCb)gnc_account_separator_prefs_cb,
+ dialog);
gnc_gconf_remove_notification(G_OBJECT(dialog), NULL,
DIALOG_PREFERENCES_CM_CLASS);
gtk_widget_destroy(GTK_WIDGET(dialog));
More information about the gnucash-changes
mailing list