[gnome-builder] gb-tree: Don't add another private data



commit a67954830a01902e26430be2c8520f92391139d6
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Nov 22 14:05:22 2014 -0800

    gb-tree: Don't add another private data
    
    We already add one with G_ADD_PRIVATE at the top.

 src/tree/gb-tree.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/tree/gb-tree.c b/src/tree/gb-tree.c
index 6c04e68..b542776 100644
--- a/src/tree/gb-tree.c
+++ b/src/tree/gb-tree.c
@@ -882,7 +882,6 @@ gb_tree_class_init (GbTreeClass *klass)
   object_class->finalize = gb_tree_finalize;
   object_class->get_property = gb_tree_get_property;
   object_class->set_property = gb_tree_set_property;
-  g_type_class_add_private (object_class, sizeof (GbTreePrivate));
 
   gParamSpecs[PROP_ROOT] =
     g_param_spec_object ("root",


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