[gnome-builder/wip/chergert/debugger: 80/106] gdb: attach callbacks to proper instance



commit 2ec1d44a099338856d55c3cac331292d2adf8894
Author: Christian Hergert <chergert redhat com>
Date:   Sat Mar 25 19:46:16 2017 -0700

    gdb: attach callbacks to proper instance

 plugins/gdb/gbp-gdb-debugger.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plugins/gdb/gbp-gdb-debugger.c b/plugins/gdb/gbp-gdb-debugger.c
index 001992b..fd03f3f 100644
--- a/plugins/gdb/gbp-gdb-debugger.c
+++ b/plugins/gdb/gbp-gdb-debugger.c
@@ -329,27 +329,27 @@ gbp_gdb_debugger_init (GbpGdbDebugger *self)
 
   self->client_signals = egg_signal_group_new (MI2_TYPE_CLIENT);
 
-  egg_signal_group_connect_object (self->runner_signals,
+  egg_signal_group_connect_object (self->client_signals,
                                    "breakpoint-inserted",
                                    G_CALLBACK (gbp_gdb_debugger_on_client_breakpoint_inserted),
                                    self,
                                    G_CONNECT_SWAPPED);
-  egg_signal_group_connect_object (self->runner_signals,
+  egg_signal_group_connect_object (self->client_signals,
                                    "breakpoint-removed",
                                    G_CALLBACK (gbp_gdb_debugger_on_client_breakpoint_removed),
                                    self,
                                    G_CONNECT_SWAPPED);
-  egg_signal_group_connect_object (self->runner_signals,
+  egg_signal_group_connect_object (self->client_signals,
                                    "event",
                                    G_CALLBACK (gbp_gdb_debugger_on_client_event),
                                    self,
                                    G_CONNECT_SWAPPED);
-  egg_signal_group_connect_object (self->runner_signals,
+  egg_signal_group_connect_object (self->client_signals,
                                    "stopped",
                                    G_CALLBACK (gbp_gdb_debugger_on_client_stopped),
                                    self,
                                    G_CONNECT_SWAPPED);
-  egg_signal_group_connect_object (self->runner_signals,
+  egg_signal_group_connect_object (self->client_signals,
                                    "log",
                                    G_CALLBACK (gbp_gdb_debugger_on_client_log),
                                    self,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]