summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/format/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/format/symbol.c')
-rw-r--r--plugins/pychrysalide/format/symbol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c
index 873510d..66e4dfc 100644
--- a/plugins/pychrysalide/format/symbol.c
+++ b/plugins/pychrysalide/format/symbol.c
@@ -439,7 +439,7 @@ static PyObject *py_binary_symbol_get_stype(PyObject *self, void *closure)
symbol = G_BIN_SYMBOL(pygobject_get(self));
type = g_binary_symbol_get_stype(symbol);
- result = cast_with_constants_group(get_python_binary_symbol_type(), "SymbolType", type);
+ result = cast_with_constants_group_from_type(get_python_binary_symbol_type(), "SymbolType", type);
return result;
@@ -508,7 +508,7 @@ static PyObject *py_binary_symbol_get_status(PyObject *self, void *closure)
symbol = G_BIN_SYMBOL(pygobject_get(self));
status = g_binary_symbol_get_status(symbol);
- result = cast_with_constants_group(get_python_binary_symbol_type(), "SymbolStatus", status);
+ result = cast_with_constants_group_from_type(get_python_binary_symbol_type(), "SymbolStatus", status);
return result;