From a3fb0b311416a176c509f446bed9730915ab0652 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Fri, 7 Feb 2003 21:58:04 +0000 Subject: don't use random memory as a gconf client. 2003-02-07 Larry Ewing * mail-display.c (save_data_cb): don't use random memory as a gconf client. svn path=/trunk/; revision=19848 --- mail/ChangeLog | 5 +++++ mail/mail-display.c | 1 + 2 files changed, 6 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index a117cfe079..1bad431295 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2003-02-07 Larry Ewing + + * mail-display.c (save_data_cb): don't use random memory as a + gconf client. + 2003-02-06 Chris Toshok * importers/pine-importer.c (import_addressbook): track change to diff --git a/mail/mail-display.c b/mail/mail-display.c index 5a075e5b1a..83ba2e0182 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -250,6 +250,7 @@ save_data_cb (GtkWidget *widget, gpointer user_data) /* preserve the pathname */ dir = g_path_get_dirname (gtk_file_selection_get_filename (file_select)); + gconf = gconf_client_get_default (); gconf_client_set_string (gconf, "/apps/evolution/mail/save_dir", dir, NULL); g_free (dir); -- cgit v1.2.3