diff options
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; } |