fixup! cleanup: remove code dropped in commit 67892da099

Also drop function that is now unused once the previous unused code got
removed.
This commit is contained in:
Eli Schwartz 2020-12-10 14:09:02 -05:00 committed by Michael Webster
parent 83597ba864
commit 3940e04530
1 changed files with 0 additions and 15 deletions

View File

@ -449,21 +449,6 @@ xed_documents_panel_class_init (XedDocumentsPanelClass *klass)
G_PARAM_STATIC_STRINGS)); 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 static gboolean
show_popup_menu (XedDocumentsPanel *panel, show_popup_menu (XedDocumentsPanel *panel,
GdkEventButton *event) GdkEventButton *event)