[sysprof/wip/chergert/mem-preload: 40/43] shorten name
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/mem-preload: 40/43] shorten name
- Date: Sat, 8 Feb 2020 01:01:43 +0000 (UTC)
commit 1d43a9354458e6c83c13ad92cdc50b64de1ad441
Author: Christian Hergert <chergert redhat com>
Date: Fri Feb 7 11:53:02 2020 -0800
shorten name
so we can have multiple render types
src/libsysprof-ui/sysprof-memprof-visualizer.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-memprof-visualizer.c b/src/libsysprof-ui/sysprof-memprof-visualizer.c
index 3853824..675019f 100644
--- a/src/libsysprof-ui/sysprof-memprof-visualizer.c
+++ b/src/libsysprof-ui/sysprof-memprof-visualizer.c
@@ -133,10 +133,10 @@ get_max_alloc (SysprofCaptureReader *reader)
}
static void
-sysprof_memprof_visualizer_draw_worker (GTask *task,
- gpointer source_object,
- gpointer task_data,
- GCancellable *cancellable)
+draw_alloc_worker (GTask *task,
+ gpointer source_object,
+ gpointer task_data,
+ GCancellable *cancellable)
{
static const gdouble dashes[] = { 1.0, 2.0 };
DrawContext *draw = task_data;
@@ -335,7 +335,7 @@ sysprof_memprof_visualizer_begin_draw (SysprofMemprofVisualizer *self)
task = g_task_new (NULL, self->cancellable, draw_finished, g_object_ref (self));
g_task_set_source_tag (task, sysprof_memprof_visualizer_begin_draw);
g_task_set_task_data (task, g_steal_pointer (&draw), (GDestroyNotify)draw_context_free);
- g_task_run_in_thread (task, sysprof_memprof_visualizer_draw_worker);
+ g_task_run_in_thread (task, draw_alloc_worker);
return G_SOURCE_REMOVE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]