[epiphany] ephy-statusbar: remove lock-clicked signal



commit 87b6ed0e80a4b3c2692e20b6232cb58bc3b46e5b
Author: Xan Lopez <xan gnome org>
Date:   Thu May 13 11:50:22 2010 +0200

    ephy-statusbar: remove lock-clicked signal
    
    It's unused now.

 src/ephy-statusbar.c |   18 ------------------
 src/ephy-statusbar.h |    3 ---
 src/ephy-window.c    |    2 --
 3 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c
index 4798d5d..b054129 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 48eaafc..fdcd2e9 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 b65ff20..063ae78 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]