#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; }