Skip to content

Commit 56d9ae0

Browse files
author
Ildar Mulyukov
committed
fix "Breaks with gedit 3.36.1"
thanks to uwekel giving #35 (comment)
1 parent 5561f26 commit 56d9ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: sourcecodebrowser/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def _load_active_document_symbols(self):
413413

414414
document = self.window.get_active_document()
415415
if document:
416-
location = document.get_location()
416+
location = document.get_file().get_location()
417417
if location:
418418
uri = location.get_uri()
419419
self._log.debug("Loading %s...", uri)

0 commit comments

Comments
 (0)