diff -r 7174e23f7617 -r 657379d8f3b6 maemo-ui/src/mmyth_epg_grid_widget.c --- a/maemo-ui/src/mmyth_epg_grid_widget.c Thu Sep 28 16:02:14 2006 +0100 +++ b/maemo-ui/src/mmyth_epg_grid_widget.c Mon Dec 18 22:18:57 2006 +0000 @@ -37,6 +37,8 @@ GList * channel_list; GMythEPG *mmyth_epg; + + GMythBackendInfo *backend_info; gint DISPLAY_CHANS; }; @@ -103,10 +105,13 @@ private->current_end_time = time(&cur_time) + 10800; private->DISPLAY_CHANS = MAX_DISPLAY_CHANS; - + + private->backend_info = gmyth_backend_info_new_full ( "192.168.1.109", "mythtv", + "mythtv", "mythconverg", 6543 ); + // TODO: Close the epg and unref it in dispose call private->mmyth_epg = gmyth_epg_new (); - if (!gmyth_epg_connect (private->mmyth_epg)) { + if (!gmyth_epg_connect (private->mmyth_epg, private->backend_info)) { g_warning ("[%s] Could not connect mysql handler to db", __FUNCTION__); g_object_unref (private->mmyth_epg); private->mmyth_epg = NULL;