myth-dbus/src/main.c
author renatofilho
Thu Oct 25 15:26:21 2007 +0100 (2007-10-25)
branchtrunk
changeset 867 c6c57f6060bd
parent 865 3eeb6b565018
permissions -rw-r--r--
[svn r873] fixed bug on programlist
     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 }