diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-11-21 02:46:38 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-21 02:46:38 +0800 |
commit | 70c88252fb1eb732104f1523a5515bf556a3438c (patch) | |
tree | c26793a71991513fdb89a18301e48c0bfaef40f3 /embed/ephy-embed-persist.c | |
parent | 60b00e6452f9beb0886661d12140e613c2770b0a (diff) | |
download | gsoc2013-epiphany-70c88252fb1eb732104f1523a5515bf556a3438c.tar.gz gsoc2013-epiphany-70c88252fb1eb732104f1523a5515bf556a3438c.tar.zst gsoc2013-epiphany-70c88252fb1eb732104f1523a5515bf556a3438c.zip |
Not necessary to store signal id in an array for interfaces.
2003-11-20 Marco Pesenti Gritti <marco@gnome.org>
* embed/ephy-command-manager.c: (ephy_command_manager_base_init):
* embed/ephy-embed-persist.c: (ephy_embed_persist_class_init):
* embed/ephy-embed.c: (ephy_embed_base_init):
Not necessary to store signal id in an array for interfaces.
Diffstat (limited to 'embed/ephy-embed-persist.c')
-rw-r--r-- | embed/ephy-embed-persist.c | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c index 1ffa39cc6..41224a38e 100644 --- a/embed/ephy-embed-persist.c +++ b/embed/ephy-embed-persist.c @@ -58,14 +58,6 @@ struct EphyEmbedPersistPrivate static void ephy_embed_persist_class_init (EphyEmbedPersistClass *klass); static void ephy_embed_persist_init (EphyEmbedPersist *ges); -enum -{ - COMPLETED, - LAST_SIGNAL -}; - -static guint ephy_embed_persist_signals[LAST_SIGNAL] = { 0 }; - static GObjectClass *parent_class = NULL; GType @@ -349,15 +341,14 @@ ephy_embed_persist_class_init (EphyEmbedPersistClass *klass) object_class->get_property = ephy_embed_persist_get_property; /* init signals */ - ephy_embed_persist_signals[COMPLETED] = - g_signal_new ("completed", - G_OBJECT_CLASS_TYPE (object_class), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (EphyEmbedPersistClass, completed), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, - 0); + g_signal_new ("completed", + G_OBJECT_CLASS_TYPE (object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (EphyEmbedPersistClass, completed), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, + 0); g_object_class_install_property (object_class, PROP_DEST, |