[gcr/wip/nielsdg/use-g-deprecated] Don't use functions which we deprecated



commit 8e2b90ee666850675133acb98fe97e382fce6e70
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Wed Feb 5 07:45:34 2020 +0100

    Don't use functions which we deprecated

 ui/frob-tree-selector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ui/frob-tree-selector.c b/ui/frob-tree-selector.c
index 692592c..f2a7ef8 100644
--- a/ui/frob-tree-selector.c
+++ b/ui/frob-tree-selector.c
@@ -122,7 +122,7 @@ on_parser_parsed (GcrParser *parser, gpointer user_data)
 
 
        testcol = test_collection_instance (group);
-       if (!gcr_simple_collection_contains (collection, G_OBJECT (testcol)))
+       if (!gcr_collection_contains (GCR_COLLECTION (collection), G_OBJECT (testcol)))
                gcr_simple_collection_add (collection, G_OBJECT (testcol));
 
        gcr_simple_collection_add (GCR_SIMPLE_COLLECTION (testcol), G_OBJECT (renderer));


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