diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-11 20:56:54 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-11 20:56:54 +0800 |
commit | 476dd3a483d5002b07859036b1b7dbb6f883e4f9 (patch) | |
tree | 1d25606e82e82faf3a06b85635b0b3502d6416c2 /embed/ephy-embed-persist.c | |
parent | aa24bfd629dfa18c35b98eedcbb06f6d1e64cec2 (diff) | |
download | gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.gz gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.bz2 gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.lz gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.xz gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.zst gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.zip |
Implement a cancel api. Fix refcount to really destroy the WebPersist
2003-01-11 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-embed-persist.c: (ephy_embed_persist_cancel):
* embed/ephy-embed-persist.h:
* embed/mozilla/ProgressListener.cpp:
* embed/mozilla/mozilla-embed-persist.cpp:
* embed/mozilla/mozilla-embed-persist.h:
Implement a cancel api. Fix refcount to really destroy
the WebPersist object when done.
Diffstat (limited to 'embed/ephy-embed-persist.c')
-rw-r--r-- | embed/ephy-embed-persist.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c index a1d742587..33b5b7eb7 100644 --- a/embed/ephy-embed-persist.c +++ b/embed/ephy-embed-persist.c @@ -364,6 +364,13 @@ ephy_embed_persist_set_dest (EphyEmbedPersist *persist, } gresult +ephy_embed_persist_cancel (EphyEmbedPersist *persist) +{ + EphyEmbedPersistClass *klass = EPHY_EMBED_PERSIST_GET_CLASS (persist); + return klass->cancel (persist); +} + +gresult ephy_embed_persist_save (EphyEmbedPersist *persist) { EphyEmbedPersistClass *klass = EPHY_EMBED_PERSIST_GET_CLASS (persist); |