[gnome-builder] gdb: rename helper function to parse variables result



commit 1434221273f8bbb95f7de4e9f8c995cd050ae4d1
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 16 15:01:38 2019 -0800

    gdb: rename helper function to parse variables result

 src/plugins/gdb/gbp-gdb-debugger.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/plugins/gdb/gbp-gdb-debugger.c b/src/plugins/gdb/gbp-gdb-debugger.c
index 21dde8dfa..1743e0bec 100644
--- a/src/plugins/gdb/gbp-gdb-debugger.c
+++ b/src/plugins/gdb/gbp-gdb-debugger.c
@@ -1887,10 +1887,10 @@ gbp_gdb_debugger_modify_breakpoint_finish (IdeDebugger   *debugger,
 }
 
 static void
-gbp_gdb_debugger_list_variables_cb (GObject      *object,
-                                    GAsyncResult *result,
-                                    gpointer      user_data,
-                                    gboolean      arguments)
+gbp_gdb_debugger_handle_list_variables (GObject      *object,
+                                        GAsyncResult *result,
+                                        gpointer      user_data,
+                                        gboolean      arguments)
 {
   GbpGdbDebugger *self = (GbpGdbDebugger *)object;
   g_autoptr(GError) error = NULL;
@@ -1975,7 +1975,7 @@ gbp_gdb_debugger_list_locals_cb (GObject      *object,
                                  GAsyncResult *result,
                                  gpointer      user_data)
 {
-  gbp_gdb_debugger_list_variables_cb (object, result, user_data, FALSE);
+  gbp_gdb_debugger_handle_list_variables (object, result, user_data, FALSE);
 }
 
 static void
@@ -1989,8 +1989,8 @@ gbp_gdb_debugger_list_locals_async (IdeDebugger         *debugger,
   GbpGdbDebugger *self = (GbpGdbDebugger *)debugger;
   g_autoptr(IdeTask) task = NULL;
   g_autofree gchar *command = NULL;
-  guint depth;
   const gchar *tid = NULL;
+  guint depth;
 
   g_assert (GBP_IS_GDB_DEBUGGER (self));
   g_assert (IDE_IS_DEBUGGER_THREAD (thread));
@@ -2033,7 +2033,7 @@ gbp_gdb_debugger_list_params_cb (GObject      *object,
                                  GAsyncResult *result,
                                  gpointer      user_data)
 {
-  gbp_gdb_debugger_list_variables_cb (object, result, user_data, TRUE);
+  gbp_gdb_debugger_handle_list_variables (object, result, user_data, TRUE);
 }
 
 static void


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