gmyth-dbus/src/main.c
author renatofilho
Thu Oct 25 20:36:19 2007 +0100 (2007-10-25)
branchtrunk
changeset 873 f580fba841bf
child 878 016b3410871d
permissions -rw-r--r--
[svn r879] bug fixes
     1 #include "gmyth-dbus-server.h"
     2 
     3 int main (int argc, char* argv[])
     4 {
     5     GMainLoop *loop;
     6     GMythDbusServer *srv;
     7 
     8     g_type_init ();
     9     g_thread_init (NULL);
    10 
    11 
    12     loop = g_main_loop_new (NULL, FALSE);
    13     srv = gmyth_dbus_server_start_dbus_service ();
    14 
    15     if (srv)
    16         g_main_loop_run (loop);
    17 
    18     return 0;
    19 }