[libgda] Removed GdaAttributesManager in GdaTree



commit b2d4aa463dd76ca692eefaf92e6eef326728612d
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Sat Feb 23 22:47:00 2019 -0600

    Removed GdaAttributesManager in GdaTree
    
    It was unused internally and externally.
    
    Fixes for issue GNOME/libgda#173

 libgda/gda-tree.c | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/libgda/gda-tree.c b/libgda/gda-tree.c
index 4cb8b094c..19236f3c8 100644
--- a/libgda/gda-tree.c
+++ b/libgda/gda-tree.c
@@ -65,7 +65,6 @@ enum {
 };
 
 static gint gda_tree_signals[LAST_SIGNAL] = { 0, 0, 0, 0 };
-extern GdaAttributesManager *_gda_tree_node_attributes_manager;
 
 /* properties */
 enum {
@@ -298,13 +297,6 @@ dump_attr_foreach_func (const gchar *att_name, const GValue *value, gpointer dat
 {
        g_print ("%s ==> %p\n", att_name, value);
 }
-static void
-dump_root_attributes (GdaTreeNode *root)
-{
-       g_print ("DUMPING attributes for %p\n", root);
-       gda_attributes_manager_foreach (_gda_tree_node_attributes_manager, root,
-                                       (GdaAttributesManagerFunc) dump_attr_foreach_func, NULL);
-}
 #endif
 
 /**
@@ -326,9 +318,6 @@ gda_tree_clean (GdaTree *tree)
 
        new_root = gda_tree_node_new (NULL);
 
-       gda_attributes_manager_copy (_gda_tree_node_attributes_manager, (gpointer) priv->root,
-                                    _gda_tree_node_attributes_manager, (gpointer) new_root);
-
        take_root_node (tree, new_root);
 }
 


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