[pygobject] pygi-convert.sh: Drop window -> get_window() conversion
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-convert.sh: Drop window -> get_window() conversion
- Date: Thu, 27 Jan 2011 11:03:24 +0000 (UTC)
commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
Author: Martin Pitt <martin pitt ubuntu com>
Date: Thu Jan 27 12:02:39 2011 +0100
pygi-convert.sh: Drop window -> get_window() conversion
It is doing more harm than good for projects which use things like self.window.
pygi-convert.sh | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index ffca69b..3226faf 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -68,7 +68,6 @@ for f in $FILES_TO_CONVERT; do
-pe "s/\.window\.set_type_hint/.set_type_hint/g;" \
-pe "s/\.window\.set_skip_taskbar_hint/.set_skip_taskbar_hint/g;" \
-pe "s/\.window\.set_transient_for/.set_transient_for/g;" \
- -pe "s/\.window\b(?!\s*=)/.get_window()/g;" \
-pe "s/self.drag_source_unset\(\)/Gtk.drag_source_unset\(self\)/g;" \
-pe "s/self.drag_dest_unset\(\)/Gtk.drag_dest_unset\(self\)/g;" \
-pe "s/Gtk.Alignment\(/Gtk.Alignment.new\(/g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]