=?utf-8?q?=5Bpygobject=5D_pygi-convert=2Esh=3A_Fix_some_child_=E2=86=92_g?= =?utf-8?q?etChild=28=29_false_positives?=



commit 858048f7cec78129aa914e2341ab80aac0e95cc5
Author: Joe R. Nassimian <placidrage gmail com>
Date:   Mon Jul 16 15:02:10 2012 +0200

    pygi-convert.sh: Fix some child â getChild() false positives
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680004

 pygi-convert.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 55bf977..611ba91 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -78,7 +78,7 @@ for f in $FILES_TO_CONVERT; do
     -pe "s/Gtk.Alignment\(/Gtk.Alignment.new\(/g;" \
     -pe "s/self._model.filter_new\(\)/Gtk.TreeModelFilter.new\(self._model, None\)/g;" \
     -pe "#s/Gtk.Window.__init__\(self\)/Gtk.Window.__init__\(Gtk.WindowType.TOPLEVEL\)/g;" \
-    -pe "s/\.child([^_a-z])/.get_child\(\)\1/g;" \
+    -pe "s/\.child([^_A-Za-z])/.get_child\(\)\1/g;" \
 \
     -pe "s/column.pack_start\(([^,\)]*)\)/column.pack_start\(\1, True\)/g;" \
     -pe "s/pack_start\(([^,\)]*)\)/pack_start\(\1, True, True, 0\)/g;" \



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