aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-05-13 17:50:22 +0800
committerXan Lopez <xan@gnome.org>2010-05-13 17:50:22 +0800
commit87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b (patch)
tree3373e79b61625023e279929c24aa8e553301b851 /src
parentcf1f1a9092d1e1c81b6c795dcc84a79bc41b55b1 (diff)
downloadgsoc2013-epiphany-87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b.tar
gsoc2013-epiphany-87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b.tar.gz
gsoc2013-epiphany-87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b.tar.bz2
gsoc2013-epiphany-87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b.tar.lz
gsoc2013-epiphany-87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b.tar.xz
gsoc2013-epiphany-87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b.tar.zst
gsoc2013-epiphany-87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b.zip
ephy-statusbar: remove lock-clicked signal
It's unused now.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-statusbar.c18
-rw-r--r--src/ephy-statusbar.h3
-rw-r--r--src/ephy-window.c2
3 files changed, 0 insertions, 23 deletions
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c
index 4798d5d8e..b054129fb 100644
--- a/src/ephy-statusbar.c
+++ b/src/ephy-statusbar.c
@@ -65,24 +65,6 @@ ephy_statusbar_class_init (EphyStatusbarClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- /**
- * EphyStatusbar::lock-clicked:
- * @statusbar: the object which received the signal.
- *
- * This signal corresponds to the user clicking on the lock icon on the
- * @statusbar.
- */
- signals[LOCK_CLICKED] =
- g_signal_new
- ("lock-clicked",
- EPHY_TYPE_STATUSBAR,
- G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
- G_STRUCT_OFFSET (EphyStatusbarClass, lock_clicked),
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE,
- 0);
-
g_type_class_add_private (object_class, sizeof (EphyStatusbarPrivate));
}
diff --git a/src/ephy-statusbar.h b/src/ephy-statusbar.h
index 48eaafc7a..fdcd2e93c 100644
--- a/src/ephy-statusbar.h
+++ b/src/ephy-statusbar.h
@@ -52,9 +52,6 @@ struct _EphyStatusbar
struct _EphyStatusbarClass
{
GtkStatusbarClass parent_class;
-
- /* Signals */
- void (* lock_clicked) (EphyStatusbar *statusbar);
};
GType ephy_statusbar_get_type (void);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index b65ff2055..063ae7878 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3744,8 +3744,6 @@ ephy_window_constructor (GType type,
/* Connect lock clicks */
action = gtk_action_group_get_action (priv->action_group, "ViewPageSecurityInfo");
- g_signal_connect_swapped (priv->statusbar, "lock-clicked",
- G_CALLBACK (gtk_action_activate), action);
g_signal_connect_swapped (priv->toolbar, "lock-clicked",
G_CALLBACK (gtk_action_activate), action);