diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-28 22:36:19 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-28 22:36:19 (GMT) |
commit | 7560e598bf1136b4e7989124fe2b4665508b67b3 (patch) | |
tree | 8426c8353369841fc93cf977b6743ba6ced84ec0 /plugins/pychrysalide/gtkext | |
parent | 94cb8acac1027a4deee933c84d7918f4a5ea4983 (diff) |
Included interfaces into the Python module gathering all features.
Diffstat (limited to 'plugins/pychrysalide/gtkext')
-rw-r--r-- | plugins/pychrysalide/gtkext/dockable.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/pychrysalide/gtkext/dockable.c b/plugins/pychrysalide/gtkext/dockable.c index f67e0fa..7e5cb81 100644 --- a/plugins/pychrysalide/gtkext/dockable.c +++ b/plugins/pychrysalide/gtkext/dockable.c @@ -32,6 +32,7 @@ #include "../access.h" +#include "../helpers.h" @@ -103,7 +104,9 @@ bool ensure_python_gtk_dockable_is_registered(void) module = get_access_to_python_module("pychrysalide.gtkext"); dict = PyModule_GetDict(module); - pyg_register_interface(dict, "LineGenerator", GTK_TYPE_DOCKABLE, type); + + if (!register_interface_for_pygobject(dict, GTK_TYPE_DOCKABLE, type)) + return false; } |