[anjuta] project-wizard: bgo #732614 - parameters reversed in template main.py function def destroy(window, s



commit 94b101c4e47dbb2ce5711786678cb704f87d9b97
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Wed Jul 2 19:21:46 2014 +0200

    project-wizard: bgo #732614 - parameters reversed in template main.py function def destroy(window, self)

 plugins/project-wizard/templates/pygtk/src/main.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/project-wizard/templates/pygtk/src/main.py 
b/plugins/project-wizard/templates/pygtk/src/main.py
index 6f9dc3a..3810deb 100644
--- a/plugins/project-wizard/templates/pygtk/src/main.py
+++ b/plugins/project-wizard/templates/pygtk/src/main.py
@@ -36,7 +36,7 @@ class GUI:
 
                window.show_all()
 
-       def destroy(window, self):
+       def destroy(self, window):
                Gtk.main_quit()
 
 def main():


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