From b4fe2094fa71a1f04ded6fa44fccfac27f7d898d Mon Sep 17 00:00:00 2001
From: Alexander Schwinn <alexxcons@xfce.org>
Date: Sat, 16 May 2020 22:06:13 +0200
Subject: [PATCH] removed unused signal (back) on thunar-window (Issue #293)

---
 thunar/thunar-window.c | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index c82147f9e..2de054d4e 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -268,7 +268,6 @@ struct _ThunarWindowClass
   GtkWindowClass __parent__;
 
   /* internal action signals */
-  gboolean (*back)            (ThunarWindow *window);
   gboolean (*reload)          (ThunarWindow *window,
                                gboolean      reload_info);
   gboolean (*zoom_in)         (ThunarWindow *window);
@@ -493,23 +492,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
                                                       THUNAR_ZOOM_LEVEL_100_PERCENT,
                                                       EXO_PARAM_READWRITE));
 
-  /**
-   * ThunarWindow::back:
-   * @window : a #ThunarWindow instance.
-   *
-   * Emitted whenever the user requests to go to the
-   * previous visited folder. This is an internal
-   * signal used to bind the action to keys.
-   **/
-  window_signals[BACK] =
-    g_signal_new (I_("back"),
-                  G_TYPE_FROM_CLASS (klass),
-                  G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
-                  G_STRUCT_OFFSET (ThunarWindowClass, back),
-                  g_signal_accumulator_true_handled, NULL,
-                  _thunar_marshal_BOOLEAN__VOID,
-                  G_TYPE_BOOLEAN, 0);
-
   /**
    * ThunarWindow::reload:
    * @window : a #ThunarWindow instance.
-- 
GitLab