[epiphany/wip/gtkaction-to-gaction: 30/57] Remove unused signal handler id variable



commit 620e7acc912a0b5917d51085159fc7ba2beb5dd4
Author: Iulian Radu <iulian radu67 gmail com>
Date:   Mon Jun 27 14:44:28 2016 +0300

    Remove unused signal handler id variable

 src/ephy-window.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 8946a44..0f0e270 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -314,8 +314,6 @@ struct _EphyWindow {
 
   EphyLocationController *location_controller;
 
-  gulong app_menu_visibility_handler;
-
   guint closing : 1;
   guint has_size : 1;
   guint fullscreen_mode : 1;
@@ -2918,10 +2916,6 @@ ephy_window_finalize (GObject *object)
 {
   EphyWindow *window = EPHY_WINDOW (object);
 
-  if (window->app_menu_visibility_handler != 0)
-    g_signal_handler_disconnect (gtk_settings_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (window))),
-                                 window->app_menu_visibility_handler);
-
   G_OBJECT_CLASS (ephy_window_parent_class)->finalize (object);
 
   LOG ("EphyWindow finalised %p", object);
@@ -3183,7 +3177,6 @@ ephy_window_constructor (GType                  type,
     error = NULL;
   }
 
-
   /* Setup the toolbar. */
   window->toolbar = setup_toolbar (window);
   window->location_controller = setup_location_controller (window, EPHY_TOOLBAR (window->toolbar));


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