diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/arch/immediate.c | 27 |
2 files changed, 5 insertions, 27 deletions
@@ -1,3 +1,8 @@ +17-04-15 Cyrille Bagard <nocbos@gmail.com> + + * src/arch/immediate.c: + Remove useless signals for immediate operands. + 17-04-13 Cyrille Bagard <nocbos@gmail.com> * src/gui/panels/bintree.ui: diff --git a/src/arch/immediate.c b/src/arch/immediate.c index 1b13ea1..6c8be5c 100644 --- a/src/arch/immediate.c +++ b/src/arch/immediate.c @@ -63,11 +63,6 @@ struct _GImmOperandClass { GArchOperandClass parent; /* Classe parente */ - /* Signaux */ - - void (* value_changed) (GImmOperand *); - void (* output_changed) (GImmOperand *); - }; @@ -125,22 +120,6 @@ static void g_imm_operand_class_init(GImmOperandClass *klass) operand->print = (operand_print_fc)g_imm_operand_print; operand->build_tooltip = (operand_build_tooltip_fc)g_imm_operand_build_tooltip; - g_signal_new("value-changed", - G_TYPE_IMM_OPERAND, - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET(GImmOperandClass, value_changed), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - - g_signal_new("output-changed", - G_TYPE_IMM_OPERAND, - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET(GImmOperandClass, output_changed), - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); - } @@ -483,8 +462,6 @@ bool g_imm_operand_set_value(GImmOperand *operand, MemoryDataSize size, uint64_t operand->size = size; operand->raw = value; - g_signal_emit_by_name(operand, "value-changed"); - return true; } @@ -507,8 +484,6 @@ void g_imm_operand_pad(GImmOperand *operand, bool state) { operand->zpad = state; - g_signal_emit_by_name(operand, "output-changed"); - } @@ -587,8 +562,6 @@ void g_imm_operand_set_display(GImmOperand *operand, ImmOperandDisplay display) { operand->display = display; - g_signal_emit_by_name(operand, "output-changed"); - } |