diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-11-09 03:59:27 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-09 03:59:27 +0800 |
commit | bc6c348cb4faebda6c9ed0bcd6f51b0894103f8b (patch) | |
tree | 0ae1c9527c9499e7fb2d59620d2f700bc7a6ab81 /embed/mozilla/mozilla-embed-persist.cpp | |
parent | efdbfda6497ce49555dfa80a6e0d90d5f2ee6389 (diff) | |
download | gsoc2013-epiphany-bc6c348cb4faebda6c9ed0bcd6f51b0894103f8b.tar.gz gsoc2013-epiphany-bc6c348cb4faebda6c9ed0bcd6f51b0894103f8b.tar.zst gsoc2013-epiphany-bc6c348cb4faebda6c9ed0bcd6f51b0894103f8b.zip |
Remove decls from the top
2003-11-08 Marco Pesenti Gritti <marco@gnome.org>
* embed/mozilla/mozilla-embed-persist.cpp:
* embed/mozilla/mozilla-embed-single.cpp:
* embed/mozilla/mozilla-embed.cpp:
Remove decls from the top
Diffstat (limited to 'embed/mozilla/mozilla-embed-persist.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-persist.cpp | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp index f2e586294..adb1699f7 100644 --- a/embed/mozilla/mozilla-embed-persist.cpp +++ b/embed/mozilla/mozilla-embed-persist.cpp @@ -43,11 +43,6 @@ mozilla_embed_persist_init (MozillaEmbedPersist *ges); static void mozilla_embed_persist_finalize (GObject *object); -static gboolean -impl_save (EphyEmbedPersist *persist); -static void -impl_cancel (EphyEmbedPersist *persist); - #define MOZILLA_EMBED_PERSIST_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), MOZILLA_TYPE_EMBED_PERSIST, MozillaEmbedPersistPrivate)) struct MozillaEmbedPersistPrivate @@ -87,22 +82,6 @@ mozilla_embed_persist_get_type (void) } static void -mozilla_embed_persist_class_init (MozillaEmbedPersistClass *klass) -{ - GObjectClass *object_class = G_OBJECT_CLASS (klass); - EphyEmbedPersistClass *persist_class = EPHY_EMBED_PERSIST_CLASS (klass); - - parent_class = (GObjectClass *) g_type_class_peek_parent (klass); - - object_class->finalize = mozilla_embed_persist_finalize; - - persist_class->save = impl_save; - persist_class->cancel = impl_cancel; - - g_type_class_add_private (object_class, sizeof(MozillaEmbedPersistPrivate)); -} - -static void mozilla_embed_persist_init (MozillaEmbedPersist *persist) { persist->priv = MOZILLA_EMBED_PERSIST_GET_PRIVATE (persist); @@ -285,3 +264,19 @@ impl_save (EphyEmbedPersist *persist) return TRUE; } + +static void +mozilla_embed_persist_class_init (MozillaEmbedPersistClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + EphyEmbedPersistClass *persist_class = EPHY_EMBED_PERSIST_CLASS (klass); + + parent_class = (GObjectClass *) g_type_class_peek_parent (klass); + + object_class->finalize = mozilla_embed_persist_finalize; + + persist_class->save = impl_save; + persist_class->cancel = impl_cancel; + + g_type_class_add_private (object_class, sizeof(MozillaEmbedPersistPrivate)); +} |