From 5fc8162f25cfcfdb30e4a895a1b8700ca6d4a481 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Tue, 27 Aug 2002 14:11:22 +0000 Subject: use EConfigListener instead of direct access to the bonobo-conf database. 2002-08-27 Rodrigo Moya * gui/calendar-config.c: use EConfigListener instead of direct access to the bonobo-conf database. (calendar_config_init): create the EConfigListener here, and install an atexit function to unref the config listener object. (config_read, property_change_cb, calendar_config_write, calendar_config_write_on_exit): removed unneeded functions. (calendar_config_get_*, calendar_config_set_*): changed to make use of EConfigListener directly. * gui/main.c (main): removed call to calendar_config_write_on_exit. * gui/dialogs/cal-prefs-dialog.c (update_config): removed call to calendar_config_write. svn path=/trunk/; revision=17874 --- calendar/gui/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'calendar/gui/main.c') diff --git a/calendar/gui/main.c b/calendar/gui/main.c index e00ea7a1e7..1f0eed02aa 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -169,7 +169,6 @@ main (int argc, char **argv) bonobo_main (); alarm_done (); - calendar_config_write_on_exit (); gnome_vfs_shutdown (); -- cgit v1.2.3