diff options
author | Simon Schampijer <simon@schampijer.de> | 2012-02-02 19:06:01 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2012-02-15 07:48:01 +0100 |
commit | 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e (patch) | |
tree | 4960c5aacf28df73438ad6a9b55b007f15c92e03 | |
parent | 3af5016978df598d5fd1c225cc49bb2c04dc4e35 (diff) | |
download | pygobject-3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e.tar.gz |
Make pygiconvert.sh correctly convert gtk.gdk.x11_*
Looking at the gir file gtk.gdk.x11_* should get converted to
GdkX11.x11_*. Fixing pygiconvert.sh to do so.
-rw-r--r-- | pygi-convert.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygi-convert.sh b/pygi-convert.sh index 8eab7a53..16faaae5 100644 --- a/pygi-convert.sh +++ b/pygi-convert.sh @@ -100,7 +100,7 @@ for f in $FILES_TO_CONVERT; do \ -pe "s/from gtk import gdk\n/from gi.repository import Gdk\n/g;" \ -pe "s/import gtk.gdk as gdk\n/from gi.repository import Gdk\n/g;" \ - -pe "s/Gtk.gdk.x11_/GdkX11\./g;" \ + -pe "s/Gtk.gdk.x11_/GdkX11.x11_/g;" \ -pe "s/Gtk.gdk\./Gdk\./g;" \ -pe "s/(?<!\.)gdk\./Gdk\./g;" \ -pe "s/Gdk.screen_width/Gdk.Screen.width/g;" \ |