r16587 - gnucash/branches/2.2/src/gnome-utils - #487326: Remove account separator gconf callback when closing preferences dialog. Merges r16568 from trunk.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Nov 11 12:32:24 EST 2007
Author: andi5
Date: 2007-11-11 12:32:24 -0500 (Sun, 11 Nov 2007)
New Revision: 16587
Trac: http://svn.gnucash.org/trac/changeset/16587
Modified:
gnucash/branches/2.2/src/gnome-utils/dialog-preferences.c
Log:
#487326: Remove account separator gconf callback when closing preferences dialog. Merges r16568 from trunk.
Modified: gnucash/branches/2.2/src/gnome-utils/dialog-preferences.c
===================================================================
--- gnucash/branches/2.2/src/gnome-utils/dialog-preferences.c 2007-11-11 17:32:19 UTC (rev 16586)
+++ gnucash/branches/2.2/src/gnome-utils/dialog-preferences.c 2007-11-11 17:32:24 UTC (rev 16587)
@@ -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