GIO is the default backend for sample main program
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 10 Aug 2008 05:18:41 +0000 (02:18 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 10 Aug 2008 05:18:41 +0000 (02:18 -0300)
src/main.c

index 673c702..3ae1815 100644 (file)
@@ -24,7 +24,7 @@
 #include <stdlib.h>
 
 extern void cgi_serve_request (AtomCtx *ctx);
-extern AtomBackend * giochannel_backend (void);
+extern AtomBackend * gio_backend (void);
 
 int
 main (int argc, char **argv)
@@ -35,7 +35,7 @@ main (int argc, char **argv)
   g_type_init ();
   ctx = atom_ctx_new ();
   atom_config_init (ctx);
-  atom_backend_set (ctx, giochannel_backend ());
+  atom_backend_set (ctx, gio_backend ());
   if ((error = atom_error_get (ctx)) != NULL)
     {
       g_message ("%s\n", atom_error_message (error));