From e86822b8b7013f96f3b3d2d86839395492cb1470 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 13 Apr 2023 11:56:32 +0200 Subject: widget: Fix compilation ... somehow the last commit was incompletely committer. Fixes: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7975 (cherry picked from commit a50cfaa7cb76d7486a45869b948cbcb8239d2fba) --- src/clipboard-gtk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clipboard-gtk.cc b/src/clipboard-gtk.cc index 17cec015..2105d09d 100644 --- a/src/clipboard-gtk.cc +++ b/src/clipboard-gtk.cc @@ -122,7 +122,7 @@ private: 8, reinterpret_cast(str->data()), str->size()); - } else if (type == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF16)) { + } else if (target == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF16)) { auto [html, len] = text_to_utf16_mozilla(*str); // This makes yet another copy of the data... :( -- cgit v1.2.1