summaryrefslogtreecommitdiff
path: root/pluma/pluma-notebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'pluma/pluma-notebook.c')
-rw-r--r--pluma/pluma-notebook.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/pluma/pluma-notebook.c b/pluma/pluma-notebook.c
index 5b8f388d..39502ec2 100644
--- a/pluma/pluma-notebook.c
+++ b/pluma/pluma-notebook.c
@@ -864,16 +864,6 @@ close_button_clicked_cb (PlumaTabLabel *tab_label, PlumaNotebook *notebook)
g_signal_emit (notebook, signals[TAB_CLOSE_REQUEST], 0, tab);
}
-static gboolean
-tab_label_scroll_cb (PlumaTabLabel *tab_label,
- GdkEventScroll *event,
- PlumaNotebook *notebook)
-{
- g_signal_emit_by_name (notebook, "scroll-event", &event);
-
- return FALSE;
-}
-
static GtkWidget *
create_tab_label (PlumaNotebook *nb,
PlumaTab *tab)
@@ -886,10 +876,6 @@ create_tab_label (PlumaNotebook *nb,
"close-clicked",
G_CALLBACK (close_button_clicked_cb),
nb);
- g_signal_connect (tab_label,
- "scroll-event",
- G_CALLBACK (tab_label_scroll_cb),
- nb);
g_object_set_data (G_OBJECT (tab), "tab-label", tab_label);