[libdazzle] tree: whitespace cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] tree: whitespace cleanup
- Date: Tue, 5 Dec 2017 01:57:48 +0000 (UTC)
commit 423fc73e28d9f42a3b0d5e09c7a40863cff567fb
Author: Christian Hergert <chergert redhat com>
Date: Mon Dec 4 17:55:14 2017 -0800
tree: whitespace cleanup
src/tree/dzl-tree-builder.h | 38 +++++++-------
src/tree/dzl-tree-node.c | 4 +-
src/tree/dzl-tree-private.h | 110 +++++++++++++++++++++----------------------
3 files changed, 75 insertions(+), 77 deletions(-)
---
diff --git a/src/tree/dzl-tree-builder.h b/src/tree/dzl-tree-builder.h
index f6a5797..596fc1d 100644
--- a/src/tree/dzl-tree-builder.h
+++ b/src/tree/dzl-tree-builder.h
@@ -32,25 +32,25 @@ struct _DzlTreeBuilderClass
{
GInitiallyUnownedClass parent_class;
- void (*added) (DzlTreeBuilder *builder,
- GtkWidget *tree);
- void (*removed) (DzlTreeBuilder *builder,
- GtkWidget *tree);
- void (*build_node) (DzlTreeBuilder *builder,
- DzlTreeNode *node);
- gboolean (*node_activated) (DzlTreeBuilder *builder,
- DzlTreeNode *node);
- void (*node_selected) (DzlTreeBuilder *builder,
- DzlTreeNode *node);
- void (*node_unselected) (DzlTreeBuilder *builder,
- DzlTreeNode *node);
- void (*node_popup) (DzlTreeBuilder *builder,
- DzlTreeNode *node,
- GMenu *menu);
- void (*node_expanded) (DzlTreeBuilder *builder,
- DzlTreeNode *node);
- void (*node_collapsed) (DzlTreeBuilder *builder,
- DzlTreeNode *node);
+ void (*added) (DzlTreeBuilder *builder,
+ GtkWidget *tree);
+ void (*removed) (DzlTreeBuilder *builder,
+ GtkWidget *tree);
+ void (*build_node) (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+ gboolean (*node_activated) (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+ void (*node_selected) (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+ void (*node_unselected) (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+ void (*node_popup) (DzlTreeBuilder *builder,
+ DzlTreeNode *node,
+ GMenu *menu);
+ void (*node_expanded) (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+ void (*node_collapsed) (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
/*< private >*/
gpointer _padding[12];
diff --git a/src/tree/dzl-tree-node.c b/src/tree/dzl-tree-node.c
index 58ce295..95e0ced 100644
--- a/src/tree/dzl-tree-node.c
+++ b/src/tree/dzl-tree-node.c
@@ -117,7 +117,7 @@ dzl_tree_node_get_tree (DzlTreeNode *node)
*/
void
_dzl_tree_node_set_tree (DzlTreeNode *node,
- DzlTree *tree)
+ DzlTree *tree)
{
g_return_if_fail (DZL_IS_TREE_NODE (node));
g_return_if_fail (!tree || DZL_IS_TREE (tree));
@@ -1064,7 +1064,7 @@ _dzl_tree_node_get_needs_build (DzlTreeNode *self)
void
_dzl_tree_node_set_needs_build (DzlTreeNode *self,
- gboolean needs_build)
+ gboolean needs_build)
{
g_assert (DZL_IS_TREE_NODE (self));
diff --git a/src/tree/dzl-tree-private.h b/src/tree/dzl-tree-private.h
index 1eb9231..67302e0 100644
--- a/src/tree/dzl-tree-private.h
+++ b/src/tree/dzl-tree-private.h
@@ -23,63 +23,61 @@
G_BEGIN_DECLS
-void _dzl_tree_invalidate (DzlTree *tree,
- DzlTreeNode *node);
-GtkTreePath *_dzl_tree_get_path (DzlTree *tree,
- GList *list);
-void _dzl_tree_build_node (DzlTree *self,
- DzlTreeNode *node);
-void _dzl_tree_append (DzlTree *self,
- DzlTreeNode *node,
- DzlTreeNode *child);
-void _dzl_tree_prepend (DzlTree *self,
- DzlTreeNode *node,
- DzlTreeNode *child);
-void _dzl_tree_insert_sorted (DzlTree *self,
- DzlTreeNode *node,
- DzlTreeNode *child,
- DzlTreeNodeCompareFunc compare_func,
- gpointer user_data);
-void _dzl_tree_remove (DzlTree *self,
- DzlTreeNode *node);
-gboolean _dzl_tree_get_iter (DzlTree *self,
- DzlTreeNode *node,
- GtkTreeIter *iter);
-GtkTreeStore*_dzl_tree_get_store (DzlTree *self);
-
-void _dzl_tree_node_set_tree (DzlTreeNode *node,
- DzlTree *tree);
-void _dzl_tree_node_set_parent (DzlTreeNode *node,
- DzlTreeNode *parent);
-const gchar *_dzl_tree_node_get_expanded_icon (DzlTreeNode *node);
-gboolean _dzl_tree_node_get_needs_build (DzlTreeNode *node);
-void _dzl_tree_node_set_needs_build (DzlTreeNode *node,
- gboolean needs_build);
-void _dzl_tree_node_add_dummy_child (DzlTreeNode *node);
-void _dzl_tree_node_remove_dummy_child (DzlTreeNode *node);
-
-void _dzl_tree_builder_set_tree (DzlTreeBuilder *builder,
- DzlTree *tree);
-void _dzl_tree_builder_added (DzlTreeBuilder *builder,
- DzlTree *tree);
-void _dzl_tree_builder_removed (DzlTreeBuilder *builder,
- DzlTree *tree);
-void _dzl_tree_builder_build_node (DzlTreeBuilder *builder,
- DzlTreeNode *node);
-gboolean _dzl_tree_builder_node_activated (DzlTreeBuilder *builder,
- DzlTreeNode *node);
-void _dzl_tree_builder_node_popup (DzlTreeBuilder *builder,
- DzlTreeNode *node,
- GMenu *menu);
-void _dzl_tree_builder_node_selected (DzlTreeBuilder *builder,
- DzlTreeNode *node);
-void _dzl_tree_builder_node_unselected (DzlTreeBuilder *builder,
- DzlTreeNode *node);
-void _dzl_tree_builder_node_collapsed (DzlTreeBuilder *builder,
- DzlTreeNode *node);
-void _dzl_tree_builder_node_expanded (DzlTreeBuilder *builder,
- DzlTreeNode *node);
+void _dzl_tree_invalidate (DzlTree *tree,
+ DzlTreeNode *node);
+GtkTreePath *_dzl_tree_get_path (DzlTree *tree,
+ GList *list);
+void _dzl_tree_build_node (DzlTree *self,
+ DzlTreeNode *node);
+void _dzl_tree_append (DzlTree *self,
+ DzlTreeNode *node,
+ DzlTreeNode *child);
+void _dzl_tree_prepend (DzlTree *self,
+ DzlTreeNode *node,
+ DzlTreeNode *child);
+void _dzl_tree_insert_sorted (DzlTree *self,
+ DzlTreeNode *node,
+ DzlTreeNode *child,
+ DzlTreeNodeCompareFunc compare_func,
+ gpointer user_data);
+void _dzl_tree_remove (DzlTree *self,
+ DzlTreeNode *node);
+gboolean _dzl_tree_get_iter (DzlTree *self,
+ DzlTreeNode *node,
+ GtkTreeIter *iter);
+GtkTreeStore *_dzl_tree_get_store (DzlTree *self);
+void _dzl_tree_node_set_tree (DzlTreeNode *node,
+ DzlTree *tree);
+void _dzl_tree_node_set_parent (DzlTreeNode *node,
+ DzlTreeNode *parent);
+const gchar *_dzl_tree_node_get_expanded_icon (DzlTreeNode *node);
+gboolean _dzl_tree_node_get_needs_build (DzlTreeNode *node);
+void _dzl_tree_node_set_needs_build (DzlTreeNode *node,
+ gboolean needs_build);
+void _dzl_tree_node_add_dummy_child (DzlTreeNode *node);
+void _dzl_tree_node_remove_dummy_child (DzlTreeNode *node);
gboolean _dzl_tree_node_is_dummy (DzlTreeNode *self);
+void _dzl_tree_builder_set_tree (DzlTreeBuilder *builder,
+ DzlTree *tree);
+void _dzl_tree_builder_added (DzlTreeBuilder *builder,
+ DzlTree *tree);
+void _dzl_tree_builder_removed (DzlTreeBuilder *builder,
+ DzlTree *tree);
+void _dzl_tree_builder_build_node (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+gboolean _dzl_tree_builder_node_activated (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+void _dzl_tree_builder_node_popup (DzlTreeBuilder *builder,
+ DzlTreeNode *node,
+ GMenu *menu);
+void _dzl_tree_builder_node_selected (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+void _dzl_tree_builder_node_unselected (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+void _dzl_tree_builder_node_collapsed (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
+void _dzl_tree_builder_node_expanded (DzlTreeBuilder *builder,
+ DzlTreeNode *node);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]