diff -r c3c073032757 -r 2dea9369a985 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 Fri Feb 09 20:28:11 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 ();