[pygobject] pygi-convert.sh: Handle GdkPixbuf.InterpType
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-convert.sh: Handle GdkPixbuf.InterpType
- Date: Mon, 17 Jan 2011 15:20:01 +0000 (UTC)
commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
Author: Martin Pitt <martin pitt ubuntu com>
Date: Mon Jan 17 16:16:45 2011 +0100
pygi-convert.sh: Handle GdkPixbuf.InterpType
pygi-convert.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index f7fa5a1..1919268 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -105,6 +105,8 @@ for f in $FILES_TO_CONVERT; do
-pe "s/intersection = child_rect.intersect/intersects_, intersection = child_rect.intersect/g;" \
-pe "s/event.state/event.get_state\(\)/g;" \
\
+ -pe "s/Gdk.INTERP_/GdkPixbuf.InterpType./g;" \
+\
-pe "s/import pango\n/from gi.repository import Pango\n/g;" \
-pe "s/pango\./Pango\./g;" \
-pe "s/Pango.ELLIPSIZE_/Pango.EllipsizeMode./g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]