[gnome-builder/wip/libide] tree: cleanup whitespace



commit 868411d6b51c6c1b3b10811b4d1f9249104b2eff
Author: Christian Hergert <christian hergert me>
Date:   Sat Feb 7 18:27:00 2015 -0800

    tree: cleanup whitespace

 src/tree/gb-tree-builder.h |   32 +++++++++++++++++---------------
 1 files changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/src/tree/gb-tree-builder.h b/src/tree/gb-tree-builder.h
index 57d6e29..53b11c9 100644
--- a/src/tree/gb-tree-builder.h
+++ b/src/tree/gb-tree-builder.h
@@ -37,6 +37,8 @@ typedef struct _GbTreeBuilder        GbTreeBuilder;
 typedef struct _GbTreeBuilderClass   GbTreeBuilderClass;
 typedef struct _GbTreeBuilderPrivate GbTreeBuilderPrivate;
 
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GbTreeBuilder, g_object_unref)
+
 struct _GbTreeBuilder
 {
        GInitiallyUnowned parent;
@@ -47,22 +49,22 @@ struct _GbTreeBuilder
 
 struct _GbTreeBuilderClass
 {
-       GInitiallyUnownedClass parent_class;
+  GInitiallyUnownedClass parent_class;
 
-   void     (*added)           (GbTreeBuilder *builder,
-                                GtkWidget     *tree);
-   void     (*removed)         (GbTreeBuilder *builder,
-                                GtkWidget     *tree);
-       void     (*build_node)      (GbTreeBuilder *builder,
-                                    GbTreeNode    *node);
-       gboolean (*node_activated)  (GbTreeBuilder *builder,
-                                    GbTreeNode    *node);
-       void     (*node_selected)   (GbTreeBuilder *builder,
-                                    GbTreeNode    *node);
-       void     (*node_unselected) (GbTreeBuilder *builder,
-                                    GbTreeNode    *node);
-   void     (*node_popup)      (GbTreeBuilder *builder,
-                                GbTreeNode    *node);
+  void     (*added)           (GbTreeBuilder *builder,
+                               GtkWidget     *tree);
+  void     (*removed)         (GbTreeBuilder *builder,
+                               GtkWidget     *tree);
+  void     (*build_node)      (GbTreeBuilder *builder,
+                               GbTreeNode    *node);
+  gboolean (*node_activated)  (GbTreeBuilder *builder,
+                               GbTreeNode    *node);
+  void     (*node_selected)   (GbTreeBuilder *builder,
+                               GbTreeNode    *node);
+  void     (*node_unselected) (GbTreeBuilder *builder,
+                               GbTreeNode    *node);
+  void     (*node_popup)      (GbTreeBuilder *builder,
+                               GbTreeNode    *node);
 };
 
 GtkWidget *gb_tree_builder_get_tree        (GbTreeBuilder *builder);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]