diff options
author | Xan Lopez <xan@gnome.org> | 2009-06-06 04:57:38 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-06-06 04:57:38 +0800 |
commit | 914b6f95e19447d1b25209b9bb3cda2942513775 (patch) | |
tree | a3e1387756ce201380ce642036d78205839a0203 /embed/ephy-embed-persist.c | |
parent | c3c1771fb6776ee3371ef06e5509d7e347880464 (diff) | |
download | gsoc2013-epiphany-914b6f95e19447d1b25209b9bb3cda2942513775.tar.gz gsoc2013-epiphany-914b6f95e19447d1b25209b9bb3cda2942513775.tar.zst gsoc2013-epiphany-914b6f95e19447d1b25209b9bb3cda2942513775.zip |
Make EphyEmbedPersist a non-interface type.
Diffstat (limited to 'embed/ephy-embed-persist.c')
-rw-r--r-- | embed/ephy-embed-persist.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c index b1ae37bfe..e78314970 100644 --- a/embed/ephy-embed-persist.c +++ b/embed/ephy-embed-persist.c @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright © 2000-2003 Marco Pesenti Gritti * Copyright © 2003 Christian Persch @@ -626,8 +627,7 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass) void ephy_embed_persist_cancel (EphyEmbedPersist *persist) { - EphyEmbedPersistClass *klass = EPHY_EMBED_PERSIST_GET_CLASS (persist); - klass->cancel (persist); + g_object_unref (persist); } /** @@ -647,8 +647,9 @@ ephy_embed_persist_cancel (EphyEmbedPersist *persist) gboolean ephy_embed_persist_save (EphyEmbedPersist *persist) { - EphyEmbedPersistClass *klass = EPHY_EMBED_PERSIST_GET_CLASS (persist); - return klass->save (persist); + g_object_ref (persist); + + return FALSE; } /** @@ -672,6 +673,5 @@ ephy_embed_persist_save (EphyEmbedPersist *persist) char * ephy_embed_persist_to_string (EphyEmbedPersist *persist) { - EphyEmbedPersistClass *klass = EPHY_EMBED_PERSIST_GET_CLASS (persist); - return klass->to_string (persist); + return NULL; } |