[pygobject] pygi-convert.sh: Drop bogus filter_new() conversion
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-convert.sh: Drop bogus filter_new() conversion
- Date: Mon, 16 Jul 2012 14:36:36 +0000 (UTC)
commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
Author: Martin Pitt <martinpitt gnome org>
Date: Mon Jul 16 16:35:33 2012 +0200
pygi-convert.sh: Drop bogus filter_new() conversion
my_tree_model.filter_new() is still a method on GtkTreeModel, not a
constructor, so do not try to convert it to a constructor call.
https://bugzilla.gnome.org/show_bug.cgi?id=679999
pygi-convert.sh | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 611ba91..8ab2ff1 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -76,7 +76,6 @@ for f in $FILES_TO_CONVERT; do
-pe "s/\.window\.set_skip_taskbar_hint/.set_skip_taskbar_hint/g;" \
-pe "s/\.window\.set_transient_for/.set_transient_for/g;" \
-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-Za-z])/.get_child\(\)\1/g;" \
\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]