From: John Darrington Date: Sat, 11 Jul 2020 10:58:41 +0000 (+0200) Subject: psppire-data-window.c: Remove ssw api protection X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=685be7e2f49916d06005ba8588dcf9d0be896aac;p=pspp psppire-data-window.c: Remove ssw api protection --- 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)),