The frontend tells if a request is a feed or not
[cascardo/atompub.git] / backend / gio / gio.c
index 2f35a00..33a8ff9 100644 (file)
@@ -127,12 +127,6 @@ gio_enumerate_entries (AtomCtx *ctx, char ***reqs, AtomEntry ***entries,
   g_ptr_array_free (filenames, FALSE);
 }
 
-static int
-gio_atom_is_feed (AtomCtx *ctx, AtomID *id)
-{
-  return (!strcmp (atom_id_string (id), "/"));
-}
-
 AtomBackend *
 gio_backend (void)
 {
@@ -140,6 +134,5 @@ gio_backend (void)
   backend = atom_backend_new ();
   atom_backend_retrieve_entry_set (backend, gio_atom_retrieve_entry);
   atom_backend_enumerate_entries_set (backend, gio_enumerate_entries);
-  atom_backend_is_feed_set (backend, gio_atom_is_feed);
   return backend;
 }