File: fix_typo_resEt.patch

package info (click to toggle)
python-rlpycairo 0.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 136 kB
  • sloc: python: 391; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
replaced a call of rest_clip() by reset_clip(), as the previous made
    no sense [source of python3-cairo don't define Context.rest_clip()
    but they do define Context.reset_clip()]
Index: python-rlpycairo/rlPyCairo/gstate.py
===================================================================
--- python-rlpycairo.orig/rlPyCairo/gstate.py
+++ python-rlpycairo/rlPyCairo/gstate.py
@@ -192,7 +192,7 @@ class GState(object):
         self.ctx.new_path()
 
     def clipPathClear(self):
-        self.ctx.rest_clip()
+        self.ctx.reset_clip()
 
     def clipPathSet(self):
         ctx = self.ctx