From 685be7e2f49916d06005ba8588dcf9d0be896aac Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 11 Jul 2020 12:58:41 +0200 Subject: [PATCH] psppire-data-window.c: Remove ssw api protection --- src/ui/gui/psppire-data-window.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ui/gui/psppire-data-window.c b/src/ui/gui/psppire-data-window.c index 5cb7f1b745..de4502ff82 100644 --- a/src/ui/gui/psppire-data-window.c +++ b/src/ui/gui/psppire-data-window.c @@ -1073,10 +1073,8 @@ on_cut (PsppireDataWindow *dw) SswSheet *sheet = SSW_SHEET (dw->data_editor->data_sheet); SswRange sel = *sheet->selection; -#if (SSW_SHEET_API_VERSION >= 1) - if ((ssw_sheet_get_api_version() >= 1) && ssw_sheet_try_cut (sheet)) + if (ssw_sheet_try_cut (sheet)) return; -#endif GtkClipboard *clip = gtk_clipboard_get_for_display (gtk_widget_get_display (GTK_WIDGET (dw)), -- 2.30.2