pybank r90 - in trunk: . bank
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: pybank r90 - in trunk: . bank
- Date: Thu, 15 Jan 2009 22:35:06 +0000 (UTC)
Author: johan
Date: Thu Jan 15 22:35:05 2009
New Revision: 90
URL: http://svn.gnome.org/viewvc/pybank?rev=90&view=rev
Log:
Revert fix for #559006
Added:
trunk/bank/gobject.py
- copied unchanged from r86, /trunk/bank/gobject.py
Modified:
trunk/bank/btypes.py
trunk/gtktest.py
Modified: trunk/bank/btypes.py
==============================================================================
--- trunk/bank/btypes.py (original)
+++ trunk/bank/btypes.py Thu Jan 15 22:35:05 2009
@@ -223,9 +223,7 @@
elif method.isMethod():
pass
else:
- break
- raise AssertionError("No constructor for %s.%s" % (
- namespaceName, className))
+ raise AssertionError
methodName = method.getName()
setattr(newType, methodName, new.instancemethod(Method(method, className),
None, newType))
Modified: trunk/gtktest.py
==============================================================================
--- trunk/gtktest.py (original)
+++ trunk/gtktest.py Thu Jan 15 22:35:05 2009
@@ -1,12 +1,11 @@
import pygtk
pygtk.require('2.0')
-import gtk
import bank
import Gtk
-window = Gtk.Window()
+window = Gtk.Window(Gtk.WindowType.TOPLEVEL)
window.connect('delete-event', lambda *args: Gtk.main_quit())
button = Gtk.Button()
button.set_label("hello!")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]