whitespace

This commit is contained in:
Christian Hergert
2019-05-19 20:54:08 -07:00
parent 685875fbd9
commit aff39523ca

View File

@ -50,15 +50,15 @@ typedef struct
{ {
SysprofCallgraphProfile *profile; SysprofCallgraphProfile *profile;
GtkTreeView *callers_view; GtkTreeView *callers_view;
GtkTreeView *functions_view; GtkTreeView *functions_view;
GtkTreeView *descendants_view; GtkTreeView *descendants_view;
GtkTreeViewColumn *descendants_name_column; GtkTreeViewColumn *descendants_name_column;
GtkStack *stack; GtkStack *stack;
GQueue *history; GQueue *history;
guint profile_size; guint profile_size;
} SysprofCallgraphViewPrivate; } SysprofCallgraphViewPrivate;
G_DEFINE_TYPE_WITH_PRIVATE (SysprofCallgraphView, sysprof_callgraph_view, GTK_TYPE_BIN) G_DEFINE_TYPE_WITH_PRIVATE (SysprofCallgraphView, sysprof_callgraph_view, GTK_TYPE_BIN)
@ -83,7 +83,7 @@ enum {
static void sysprof_callgraph_view_update_descendants (SysprofCallgraphView *self, static void sysprof_callgraph_view_update_descendants (SysprofCallgraphView *self,
StackNode *node); StackNode *node);
static GParamSpec *properties [N_PROPS]; static GParamSpec *properties [N_PROPS];
static guint signals [N_SIGNALS]; static guint signals [N_SIGNALS];
@ -392,8 +392,8 @@ caller_free (gpointer data)
} }
static void static void
sysprof_callgraph_view_function_selection_changed (SysprofCallgraphView *self, sysprof_callgraph_view_function_selection_changed (SysprofCallgraphView *self,
GtkTreeSelection *selection) GtkTreeSelection *selection)
{ {
SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self); SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self);
GtkTreeModel *model = NULL; GtkTreeModel *model = NULL;
@ -515,7 +515,7 @@ sysprof_callgraph_view_function_selection_changed (SysprofCallgraphView *self,
static void static void
sysprof_callgraph_view_set_node (SysprofCallgraphView *self, sysprof_callgraph_view_set_node (SysprofCallgraphView *self,
StackNode *node) StackNode *node)
{ {
SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self); SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self);
GtkTreeModel *model; GtkTreeModel *model;
@ -554,10 +554,10 @@ sysprof_callgraph_view_set_node (SysprofCallgraphView *self,
} }
static void static void
sysprof_callgraph_view_descendant_activated (SysprofCallgraphView *self, sysprof_callgraph_view_descendant_activated (SysprofCallgraphView *self,
GtkTreePath *path, GtkTreePath *path,
GtkTreeViewColumn *column, GtkTreeViewColumn *column,
GtkTreeView *tree_view) GtkTreeView *tree_view)
{ {
GtkTreeModel *model; GtkTreeModel *model;
StackNode *node = NULL; StackNode *node = NULL;
@ -611,10 +611,10 @@ sysprof_callgraph_view_caller_activated (SysprofCallgraphView *self,
static void static void
sysprof_callgraph_view_tag_data_func (GtkTreeViewColumn *column, sysprof_callgraph_view_tag_data_func (GtkTreeViewColumn *column,
GtkCellRenderer *cell, GtkCellRenderer *cell,
GtkTreeModel *model, GtkTreeModel *model,
GtkTreeIter *iter, GtkTreeIter *iter,
gpointer data) gpointer data)
{ {
SysprofCallgraphView *self = data; SysprofCallgraphView *self = data;
SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self); SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self);
@ -666,9 +666,9 @@ sysprof_callgraph_view_finalize (GObject *object)
static void static void
sysprof_callgraph_view_get_property (GObject *object, sysprof_callgraph_view_get_property (GObject *object,
guint prop_id, guint prop_id,
GValue *value, GValue *value,
GParamSpec *pspec) GParamSpec *pspec)
{ {
SysprofCallgraphView *self = SYSPROF_CALLGRAPH_VIEW (object); SysprofCallgraphView *self = SYSPROF_CALLGRAPH_VIEW (object);
SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self); SysprofCallgraphViewPrivate *priv = sysprof_callgraph_view_get_instance_private (self);
@ -686,9 +686,9 @@ sysprof_callgraph_view_get_property (GObject *object,
static void static void
sysprof_callgraph_view_set_property (GObject *object, sysprof_callgraph_view_set_property (GObject *object,
guint prop_id, guint prop_id,
const GValue *value, const GValue *value,
GParamSpec *pspec) GParamSpec *pspec)
{ {
SysprofCallgraphView *self = SYSPROF_CALLGRAPH_VIEW (object); SysprofCallgraphView *self = SYSPROF_CALLGRAPH_VIEW (object);
@ -928,10 +928,10 @@ build_tree (StackNode *node)
static void static void
append_to_tree_and_free (SysprofCallgraphView *self, append_to_tree_and_free (SysprofCallgraphView *self,
StackStash *stash, StackStash *stash,
GtkTreeStore *store, GtkTreeStore *store,
Descendant *item, Descendant *item,
GtkTreeIter *parent) GtkTreeIter *parent)
{ {
StackNode *node = NULL; StackNode *node = NULL;
GtkTreeIter iter; GtkTreeIter iter;