[vte] widget: Fix clipboard types
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Fix clipboard types
- Date: Wed, 2 Dec 2020 15:35:33 +0000 (UTC)
commit e70b33b0974156dbf0c000910000daecf04fd86d
Author: Christian Persch <chpe src gnome org>
Date: Wed Dec 2 16:35:26 2020 +0100
widget: Fix clipboard types
https://gitlab.gnome.org/GNOME/vte/-/issues/316
src/widget.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/widget.cc b/src/widget.cc
index f55abee0..959839d0 100644
--- a/src/widget.cc
+++ b/src/widget.cc
@@ -225,8 +225,8 @@ Clipboard&
Widget::clipboard_get(ClipboardType type) const
{
switch (type) {
- case ClipboardType::PRIMARY: return *m_clipboard;
- case ClipboardType::CLIPBOARD: return *m_primary_clipboard;
+ case ClipboardType::CLIPBOARD: return *m_clipboard;
+ case ClipboardType::PRIMARY: return *m_primary_clipboard;
default: g_assert_not_reached(); throw std::runtime_error{""}; break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]