Skip to content

Commit

Permalink
Use FakePropertyAction on GTK+ 3.14
Browse files Browse the repository at this point in the history
Fixes #100.
  • Loading branch information
mgedmin committed Jan 24, 2017
1 parent ec177cc commit 49d5fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gtimelog/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def __init__(self, win):
# On Ubuntu 15.04 we can use Gio.PropertyAction
# But what's the actual difference -- PyGI version? GTK version?
# What test do I make to determine which one to use?
if gi.__version__ < '3.14':
if gi.__version__ < '3.20':
PropertyAction = FakePropertyAction
else:
PropertyAction = Gio.PropertyAction
Expand Down

0 comments on commit 49d5fbe

Please sign in to comment.