1.1 --- a/maemo-ui/src/mmyth_tvplayer.c Wed Dec 06 20:22:48 2006 +0000
1.2 +++ b/maemo-ui/src/mmyth_tvplayer.c Tue Jan 30 22:04:04 2007 +0000
1.3 @@ -353,11 +353,11 @@
1.4 * @return TRUE if successfull, FALSE if any error happens.
1.5 */
1.6 gboolean
1.7 -mmyth_tvplayer_record_setup (MMythTVPlayer *tvplayer, gchar *filename)
1.8 +mmyth_tvplayer_record_setup (MMythTVPlayer *tvplayer, const gchar *filename)
1.9 {
1.10 // FIXME: we should receive the uri instead of filename
1.11 - gchar *hostname = gmyth_backend_info_get_hostname (tvplayer->backend_info);
1.12 - gint port = gmyth_backend_info_get_port(tvplayer->backend_info);
1.13 + const gchar *hostname = gmyth_backend_info_get_hostname (tvplayer->backend_info);
1.14 + const gint port = gmyth_backend_info_get_port(tvplayer->backend_info);
1.15
1.16 GString *fullpath = g_string_new ("myth://");
1.17 g_string_append_printf (fullpath, "%s:%d/%s", hostname, port, filename);
1.18 @@ -382,7 +382,6 @@
1.19 mmyth_tvplayer_livetv_setup (MMythTVPlayer *tvplayer)
1.20 {
1.21 gboolean res = TRUE;
1.22 - gchar *hostname;
1.23
1.24 tvplayer->livetv = gmyth_livetv_new ();
1.25