summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pychrysalide/gtkext/named.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/pychrysalide/gtkext/named.c b/plugins/pychrysalide/gtkext/named.c
index e272097..1d336f1 100644
--- a/plugins/pychrysalide/gtkext/named.c
+++ b/plugins/pychrysalide/gtkext/named.c
@@ -278,12 +278,7 @@ PyTypeObject *get_python_built_named_widget_type(void)
};
- static PyTypeObject *result = NULL;
-
- if (result == NULL)
- result = define_python_dynamic_type(&py_built_named_widget_type);
-
- return result;
+ return &py_built_named_widget_type;
}