Skip to content

Commit e2adc26

Browse files
committed
bin/meld: Check that we have the GtkSourceView stuff we need
1 parent 707ccff commit e2adc26

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bin/meld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def check_requirements():
168168
try:
169169
from gi.repository import GtkSource
170170
# TODO: There is no way to get at GtkSourceView's actual version
171+
assert hasattr(GtkSource, 'SearchSettings')
171172
except (ImportError, AssertionError) as e:
172173
missing_reqs("GtkSourceView", gtksourceview_requirement, e)
173174

0 commit comments

Comments
 (0)