[pygobject] [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR



commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
Author: Martin Pitt <martin pitt ubuntu com>
Date:   Wed May 4 08:35:27 2011 +0200

    [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR

 pygi-convert.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index ba5cdf2..311b031 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -110,6 +110,7 @@ for f in $FILES_TO_CONVERT; do
     -pe "s/Gdk.GRAB_/Gdk.GrabStatus./g;" \
     -pe "s/Gdk.SCROLL_(DOWN|LEFT|RIGHT|UP)/Gdk.ScrollDirection.\1/g;" \
     -pe "s/Gdk.([A-Z]+_(PTR|CURSOR))/Gdk.CursorType.\1/g;" \
+    -pe "s/Gdk.(CROSSHAIR)/Gdk.CursorType.\1/g;" \
     -pe "s/Gdk.Cursor\s*\(/Gdk.Cursor.new\(/g;" \
     -pe "s/#Gdk.Rectangle\(([^,\)]*), ([^,\)]*), ([^,\)]*), ([^,\)]*)\)/\1, \2, \3, \4/g;" \
     -pe "s/Gdk.Rectangle//g;" \



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