Skip to content

Conversation

Tao-T
Copy link

@Tao-T Tao-T commented Oct 10, 2025

Gtk3::Gdk::SELECTION_XXXX is neither a constant nor a package variant. So undef is passed in Gtk3::Clipboard::get() with warnings.

This commit has Gtk3::Gdk::Atom::intern involved to help fetching any valid selection types such as GDK_SELECTION_CLIPBOARD, GDK_SELECTION_PRIMARY and so on.

Fix #772

Gtk3::Gdk::SELECTION_XXXX is neither a constant nor a package variant. So
`undef` is passed in Gtk3::Clipboard::get() with warnings.

This commit has Gtk3::Gdk::Atom::intern involved to help fetching
any valid selection types such as GDK_SELECTION_CLIPBOARD, GDK_SELECTION_PRIMARY
and so on.

Fix shutter-project#772
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gtk3::Gdk::SELECTION_CLIPBOARD not defined variant

1 participant