mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-ui: whitespace cleanup
This commit is contained in:
@ -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);
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user