diff options
author | Johan Dahlin <johan@src.gnome.org> | 2005-08-26 18:29:48 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2005-08-26 18:29:48 +0000 |
commit | 9118b2befcf50989361ee3da976a240782473c8b (patch) | |
tree | cdbf8a3089e0e1ef3ddc76c87f2570cd7d21c64b | |
parent | fbd3828e7ff974eb61197767e8fb630ac21d17bf (diff) | |
download | pygtk-9118b2befcf50989361ee3da976a240782473c8b.tar.gz |
Make it a type on dynamically created subclasses implementing the
* atk-types.defs (ImplementorIface): Make it a type on dynamically
created subclasses implementing the interface to possibly avoid
MRO issues.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | atk-types.defs | 6 | ||||
-rw-r--r-- | atk.defs | 2 |
3 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2005-08-26 Johan Dahlin <jdahlin@async.com.br> + * atk-types.defs (ImplementorIface): Make it a type on dynamically + created subclasses implementing the interface to possibly avoid + MRO issues. + * gobject/gobjectmodule.c (pyg_signal_list_ids): Refactor to allow us to list signals on interfaces. diff --git a/atk-types.defs b/atk-types.defs index 222840f0..7904cd34 100644 --- a/atk-types.defs +++ b/atk-types.defs @@ -70,6 +70,12 @@ (gtype-id "ATK_TYPE_UTIL") ) +(define-interface ImplementorIface + (in-module "Atk") + (c-name "AtkImplementorIface") + (gtype-id "ATK_TYPE_IMPLEMENTOR") +) + ;; Enumerations and flags ... (define-enum Role @@ -499,7 +499,7 @@ ) (define-method ref_accessible - (of-object "AtkImplementor") + (of-object "AtkImplementorIface") (c-name "atk_implementor_ref_accessible") (return-type "AtkObject*") ) |