summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-03-28 11:25:17 +0000
committerJames Henstridge <jamesh@src.gnome.org>2000-03-28 11:25:17 +0000
commitbd11b673b2e6523328fbf58c07807f0e1e102c15 (patch)
tree2846bfe9155aea82d0d099fe213a33104be73f8d
parentab14cd514a680bfffe4869ca3202232bcfa4502d (diff)
downloadpygobject-extension-class-branch.tar.gz
fixed bug in constructor that would cause segfault when creating instancesextension-class-branch
2000-03-28 James Henstridge <james@daa.com.au> * gtk/gtk.override (_wrap_gtk_radio_menu_item_new): fixed bug in constructor that would cause segfault when creating instances :( * codegen/codegen.py (write_getattr): implemented object field accessors through a __getattr__ method for the class. Doesn't handle attributes inheritted from parent classes properly yet. * ltihooks.py: install ltihooks when it is imported. This is generally what you would be importing it for. * codegen/argtypes.py (ObjectArg): fixed up template code a bit. * gtk/gtk.override: added some more functions to ignore. * codegen/argtypes.py: add a few more integer types to the matcher. (UCharArg.write_param): new matcher for uchar arrays that doesn't barf on strings with embedded NULLs. * gtk/gtk.defs (gtk_check_menu_item_new): added is-constructor-of clause.
-rw-r--r--ltihooks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ltihooks.py b/ltihooks.py
index c1230095..7086365d 100644
--- a/ltihooks.py
+++ b/ltihooks.py
@@ -56,3 +56,5 @@ def install():
importer.install()
def uninstall():
importer.uninstall()
+
+install()