Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix gtk import error #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Headorteil
Copy link

@Headorteil Headorteil commented Dec 7, 2020

gtk should not be a static import as it provokes errors when other gi.repository modules are imported as this gi error says: "AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183".

By importing Clipboard as it is done in this pull request, there is no problem.

@dpriskorn
Copy link

thank you for fixing this error! This project seems dead, would you care like to take over the future maintenance in your fork?

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.

2 participants