libsysprof-ui: whitespace cleanup

This commit is contained in:
Christian Hergert
2019-05-15 20:50:04 -07:00
parent e3245c3c3b
commit 60ba134e9d
2 changed files with 6 additions and 6 deletions

View File

@ -108,7 +108,7 @@ sysprof_color_cycle_unref (SysprofColorCycle *self)
void void
sysprof_color_cycle_next (SysprofColorCycle *self, sysprof_color_cycle_next (SysprofColorCycle *self,
GdkRGBA *rgba) GdkRGBA *rgba)
{ {
g_return_if_fail (self != NULL); g_return_if_fail (self != NULL);
g_return_if_fail (self->position < self->n_colors); g_return_if_fail (self->position < self->n_colors);

View File

@ -37,7 +37,7 @@ G_DEFINE_TYPE (SysprofCpuVisualizerRow, sysprof_cpu_visualizer_row, SYSPROF_TYPE
static gboolean static gboolean
sysprof_cpu_visualizer_counter_found (const SysprofCaptureFrame *frame, sysprof_cpu_visualizer_counter_found (const SysprofCaptureFrame *frame,
gpointer user_data) gpointer user_data)
{ {
const SysprofCaptureFrameCounterDefine *def = (SysprofCaptureFrameCounterDefine *)frame; const SysprofCaptureFrameCounterDefine *def = (SysprofCaptureFrameCounterDefine *)frame;
GArray *counters = user_data; GArray *counters = user_data;
@ -65,9 +65,9 @@ sysprof_cpu_visualizer_counter_found (const SysprofCaptureFrame *frame,
static void static void
sysprof_cpu_visualizer_row_discover_counters (GTask *task, sysprof_cpu_visualizer_row_discover_counters (GTask *task,
gpointer source_object, gpointer source_object,
gpointer task_data, gpointer task_data,
GCancellable *canellable) GCancellable *canellable)
{ {
const SysprofCaptureFrameType types[] = { SYSPROF_CAPTURE_FRAME_CTRDEF }; const SysprofCaptureFrameType types[] = { SYSPROF_CAPTURE_FRAME_CTRDEF };
SysprofCaptureReader *reader = task_data; SysprofCaptureReader *reader = task_data;
@ -116,7 +116,7 @@ complete_counters (GObject *object,
static void static void
sysprof_cpu_visualizer_row_set_reader (SysprofVisualizerRow *row, sysprof_cpu_visualizer_row_set_reader (SysprofVisualizerRow *row,
SysprofCaptureReader *reader) SysprofCaptureReader *reader)
{ {
SysprofCpuVisualizerRow *self = (SysprofCpuVisualizerRow *)row; SysprofCpuVisualizerRow *self = (SysprofCpuVisualizerRow *)row;
g_autoptr(GTask) task = NULL; g_autoptr(GTask) task = NULL;