[gobject-introspection] giscanner: remove Position.offset()



commit db34cca45f4a726e20f2452615068fe1e04bc428
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Tue May 28 06:43:13 2013 +0200

    giscanner: remove Position.offset()
    
    It's never used...

 giscanner/message.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/giscanner/message.py b/giscanner/message.py
index eca425a..5890835 100644
--- a/giscanner/message.py
+++ b/giscanner/message.py
@@ -66,9 +66,6 @@ class Position(object):
         else:
             return '%s:' % (filename, )
 
-    def offset(self, offset):
-        return Position(self.filename, self.line + offset, self.column)
-
 
 class MessageLogger(object):
     _instance = None


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