diff options
author | Larry Ewing <lewing@ximian.com> | 2001-07-04 03:31:06 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2001-07-04 03:31:06 +0800 |
commit | ed46ce99fed3badd4488706e8b82fc4bfc3402af (patch) | |
tree | 56679366065ec4fbd7e3d4fd177b6ff3cbde2982 /composer/e-msg-composer.h | |
parent | 23dd7a254c20edc576039e51cde0138f7772fbd8 (diff) | |
download | gsoc2013-evolution-ed46ce99fed3badd4488706e8b82fc4bfc3402af.tar.gz gsoc2013-evolution-ed46ce99fed3badd4488706e8b82fc4bfc3402af.tar.zst gsoc2013-evolution-ed46ce99fed3badd4488706e8b82fc4bfc3402af.zip |
remove the timer id.
2001-07-03 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: remove the timer id.
* e-msg-composer.c: use autosave manager.
(autosave_save_draft): moved initialization to
autosave_init_file. Only save the buffer if we get a valid
message.
(autosave_load_draft): unlink the old file, we own it now. and
unref the stream when we are done with it.
(autosave_is_owned): check if we own the file, this needs to be
extended to check for other valid processes.
(autosave_query_load_orphans): make this search through the
managers list as it walks the dir.
(autosave_query_load_orphans): make sure we use the full path.
(autosave_run_foreach_cb): timeout foreach handler.
(autosave_run): the timeout function.
(autosave_start): start timer.
(autosave_stop): stop timer.
(autosave_register): register a composer with the autosave manager.
(autosave_unregister): unregister a composer.
(destroy): unregister the composer, everything is okay.
(init): register the composer.
svn path=/trunk/; revision=10762
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r-- | composer/e-msg-composer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h index ae9effafd2..11ab45cdd8 100644 --- a/composer/e-msg-composer.h +++ b/composer/e-msg-composer.h @@ -78,7 +78,6 @@ struct _EMsgComposer { char *autosave_file; int autosave_fd; - guint autosave_id; gboolean attachment_bar_visible : 1; gboolean send_html : 1; |