diff -r c3c073032757 -r 8b8394c61142 maemo-ui/src/mmyth_tvplayer.c --- a/maemo-ui/src/mmyth_tvplayer.c Wed Dec 06 20:22:48 2006 +0000 +++ b/maemo-ui/src/mmyth_tvplayer.c Thu Feb 15 14:42:08 2007 +0000 @@ -353,11 +353,11 @@ * @return TRUE if successfull, FALSE if any error happens. */ gboolean -mmyth_tvplayer_record_setup (MMythTVPlayer *tvplayer, gchar *filename) +mmyth_tvplayer_record_setup (MMythTVPlayer *tvplayer, const gchar *filename) { // FIXME: we should receive the uri instead of filename - gchar *hostname = gmyth_backend_info_get_hostname (tvplayer->backend_info); - gint port = gmyth_backend_info_get_port(tvplayer->backend_info); + const gchar *hostname = gmyth_backend_info_get_hostname (tvplayer->backend_info); + const gint port = gmyth_backend_info_get_port(tvplayer->backend_info); GString *fullpath = g_string_new ("myth://"); g_string_append_printf (fullpath, "%s:%d/%s", hostname, port, filename); @@ -382,7 +382,6 @@ mmyth_tvplayer_livetv_setup (MMythTVPlayer *tvplayer) { gboolean res = TRUE; - gchar *hostname; tvplayer->livetv = gmyth_livetv_new ();