aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-command-manager.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-21 02:46:38 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-21 02:46:38 +0800
commit70c88252fb1eb732104f1523a5515bf556a3438c (patch)
treec26793a71991513fdb89a18301e48c0bfaef40f3 /embed/ephy-command-manager.c
parent60b00e6452f9beb0886661d12140e613c2770b0a (diff)
downloadgsoc2013-epiphany-70c88252fb1eb732104f1523a5515bf556a3438c.tar
gsoc2013-epiphany-70c88252fb1eb732104f1523a5515bf556a3438c.tar.gz
gsoc2013-epiphany-70c88252fb1eb732104f1523a5515bf556a3438c.tar.bz2
gsoc2013-epiphany-70c88252fb1eb732104f1523a5515bf556a3438c.tar.lz
gsoc2013-epiphany-70c88252fb1eb732104f1523a5515bf556a3438c.tar.xz
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-command-manager.c')
-rw-r--r--embed/ephy-command-manager.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/embed/ephy-command-manager.c b/embed/ephy-command-manager.c
index 68ca46510..b92726a77 100644
--- a/embed/ephy-command-manager.c
+++ b/embed/ephy-command-manager.c
@@ -24,17 +24,9 @@
#include "ephy-command-manager.h"
-enum
-{
- COMMAND_CHANGED,
- LAST_SIGNAL
-};
-
static void
ephy_command_manager_base_init (gpointer base_class);
-static guint ephy_command_manager_signals[LAST_SIGNAL] = { 0 };
-
GType
ephy_command_manager_get_type (void)
{
@@ -65,7 +57,6 @@ ephy_command_manager_base_init (gpointer g_class)
if (!initialized)
{
- ephy_command_manager_signals[COMMAND_CHANGED] =
g_signal_new ("command_changed",
EPHY_TYPE_COMMAND_MANAGER,
G_SIGNAL_RUN_FIRST,
@@ -75,7 +66,7 @@ ephy_command_manager_base_init (gpointer g_class)
G_TYPE_NONE,
1,
G_TYPE_STRING);
- initialized = TRUE;
+ initialized = TRUE;
}
}