diff options
Diffstat (limited to 'plugins/pychrysa/arch')
-rw-r--r-- | plugins/pychrysa/arch/immediate.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/plugins/pychrysa/arch/immediate.c b/plugins/pychrysa/arch/immediate.c index 69efa97..f1ec125 100644 --- a/plugins/pychrysa/arch/immediate.c +++ b/plugins/pychrysa/arch/immediate.c @@ -249,9 +249,7 @@ static int py_imm_operand_set_padding_by_default(PyObject *self, PyObject *value operand = G_IMM_OPERAND(pygobject_get(self)); assert(operand != NULL); - g_imm_operand_pad_by_default(&operand, padding, NULL); - - pygobject_set(self, operand); + g_imm_operand_pad_by_default(operand, padding); return 0; @@ -319,9 +317,7 @@ static int py_imm_operand_set_padding(PyObject *self, PyObject *value, void *clo operand = G_IMM_OPERAND(pygobject_get(self)); assert(operand != NULL); - g_imm_operand_pad(&operand, padding, NULL); - - pygobject_set(self, operand); + g_imm_operand_pad(operand, padding); return 0; @@ -395,9 +391,7 @@ static int py_imm_operand_set_default_display(PyObject *self, PyObject *value, v operand = G_IMM_OPERAND(pygobject_get(self)); assert(operand != NULL); - g_imm_operand_set_default_display(&operand, display, NULL); - - pygobject_set(self, operand); + g_imm_operand_set_default_display(operand, display); return 0; @@ -471,9 +465,7 @@ static int py_imm_operand_set_display(PyObject *self, PyObject *value, void *clo operand = G_IMM_OPERAND(pygobject_get(self)); assert(operand != NULL); - g_imm_operand_set_display(&operand, display, NULL); - - pygobject_set(self, operand); + g_imm_operand_set_display(operand, display); return 0; |