From 8e89366c2b85f852720ea51844d6dce36b1edeeb Mon Sep 17 00:00:00 2001 From: ptrhlm Date: Tue, 11 May 2021 00:54:08 +0200 Subject: [PATCH] termite: fix vte patch "expose-function-for-getting-the-selected-text" (#122467) ZHF: #122042 --- ...vte-0005-expose-function-for-getting-the-selected-text.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch b/pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch index 0a2c5272226..fe04434f4a2 100644 --- a/pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch +++ b/pkgs/applications/terminal-emulators/termite/vte-ng-modified-patches/vte-0005-expose-function-for-getting-the-selected-text.patch @@ -21,7 +21,7 @@ +vte_terminal_get_selection(VteTerminal *terminal) noexcept +{ + g_return_val_if_fail(VTE_IS_TERMINAL(terminal), NULL); -+ return g_strdup (IMPL(terminal)->m_selection[VTE_SELECTION_PRIMARY]->str); ++ return g_strdup (IMPL(terminal)->m_selection[vte::to_integral(vte::platform::ClipboardType::PRIMARY)]->str); +} + /**