From 3940e04530d1aecf0801c7971cd6f65ef76b175d Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 10 Dec 2020 14:09:02 -0500 Subject: [PATCH] fixup! cleanup: remove code dropped in commit 67892da099357e24b3fd3c31fa758947b1dfc47a Also drop function that is now unused once the previous unused code got removed. --- xed/xed-documents-panel.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/xed/xed-documents-panel.c b/xed/xed-documents-panel.c index 63dacd1..ddcc5ad 100644 --- a/xed/xed-documents-panel.c +++ b/xed/xed-documents-panel.c @@ -449,21 +449,6 @@ xed_documents_panel_class_init (XedDocumentsPanelClass *klass) G_PARAM_STATIC_STRINGS)); } -static GtkTreePath * -get_current_path (XedDocumentsPanel *panel) -{ - gint num; - GtkWidget *nb; - GtkTreePath *path; - - nb = _xed_window_get_notebook (panel->priv->window); - num = gtk_notebook_get_current_page (GTK_NOTEBOOK (nb)); - - path = gtk_tree_path_new_from_indices (num, -1); - - return path; -} - static gboolean show_popup_menu (XedDocumentsPanel *panel, GdkEventButton *event)