diff options
author | Larry Ewing <lewing@ximian.com> | 2003-02-08 05:58:04 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2003-02-08 05:58:04 +0800 |
commit | a3fb0b311416a176c509f446bed9730915ab0652 (patch) | |
tree | 0ccb5c8eb4fee075ae0da68e3847b57d0e386e0b | |
parent | 8d7130fe72c760ecfdc0041c43acca66598e84e7 (diff) | |
download | gsoc2013-evolution-a3fb0b311416a176c509f446bed9730915ab0652.tar gsoc2013-evolution-a3fb0b311416a176c509f446bed9730915ab0652.tar.gz gsoc2013-evolution-a3fb0b311416a176c509f446bed9730915ab0652.tar.bz2 gsoc2013-evolution-a3fb0b311416a176c509f446bed9730915ab0652.tar.lz gsoc2013-evolution-a3fb0b311416a176c509f446bed9730915ab0652.tar.xz gsoc2013-evolution-a3fb0b311416a176c509f446bed9730915ab0652.tar.zst gsoc2013-evolution-a3fb0b311416a176c509f446bed9730915ab0652.zip |
don't use random memory as a gconf client.
2003-02-07 Larry Ewing <lewing@ximian.com>
* mail-display.c (save_data_cb): don't use random memory as a
gconf client.
svn path=/trunk/; revision=19848
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-display.c | 1 |
2 files changed, 6 insertions, 0 deletions
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 <lewing@ximian.com> + + * mail-display.c (save_data_cb): don't use random memory as a + gconf client. + 2003-02-06 Chris Toshok <toshok@ximian.com> * 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); |