Skip to content

Commit 801ec4e

Browse files
authored
Merge pull request #790 from shutter-project/fix-783
Fix #783: Ugly but working replacement for #773
2 parents d90442d + 5d41756 commit 801ec4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/shutter

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,10 @@ sub STARTUP {
419419
#--------------------------------------
420420

421421
#Clipboard
422-
$clipboard = Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern("clipboard", FALSE));
422+
{
423+
no warnings 'once';
424+
$clipboard = Gtk3::Clipboard::get($Gtk3::Gdk::SELECTION_CLIPBOARD);
425+
}
423426

424427
#Gettext
425428
$d = $sc->get_gettext;

0 commit comments

Comments
 (0)