[meld] sourceview: Fix custom candidate return (bgo#768129)



commit 8972b92324d52cbc62f807e6b57125dd01258fff
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Fri Jul 1 07:30:52 2016 +1000

    sourceview: Fix custom candidate return (bgo#768129)

 meld/sourceview.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/sourceview.py b/meld/sourceview.py
index d455bd7..6eba778 100644
--- a/meld/sourceview.py
+++ b/meld/sourceview.py
@@ -48,6 +48,7 @@ def get_custom_encoding_candidates():
         # get_default_candidates() is only available in GtkSourceView 3.18
         # and we'd rather use their defaults than our old detect list.
         pass
+    return custom_candidates
 
 
 class LanguageManager(object):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]