diff -r 000000000000 -r c91d9f4d142f gmyth-dbus/src/main.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gmyth-dbus/src/main.c Thu Oct 25 18:43:23 2007 +0100 @@ -0,0 +1,19 @@ +#include "gmyth-dbus-server.h" + +int main (int argc, char* argv[]) +{ + GMainLoop *loop; + GMythDbusServer *srv; + + g_type_init (); + g_thread_init (NULL); + + + loop = g_main_loop_new (NULL, FALSE); + srv = gmyth_dbus_server_start_dbus_service (); + + if (srv) + g_main_loop_run (loop); + + return 0; +}