Remove collection_backend_children_contains().
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 2 Aug 2012 18:58:49 +0000 (14:58 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 3 Aug 2012 15:39:50 +0000 (11:39 -0400)
Decided I don't need this for the moment, so removing it to silence an
"unused-function" compiler warning.

libebackend/e-collection-backend.c

index 46bbe51..8a1cbda 100644 (file)
@@ -111,21 +111,6 @@ collection_backend_children_remove (ECollectionBackend *backend,
        return removed;
 }
 
-static gboolean
-collection_backend_children_contains (ECollectionBackend *backend,
-                                      ESource *source)
-{
-       gboolean contains;
-
-       g_mutex_lock (backend->priv->children_lock);
-
-       contains = g_hash_table_contains (backend->priv->children, source);
-
-       g_mutex_unlock (backend->priv->children_lock);
-
-       return contains;
-}
-
 static GList *
 collection_backend_children_list (ECollectionBackend *backend)
 {