[farsight2/master] update to API which needs the cname to be a const

Youness Alaoui youness.alaoui at collabora.co.uk
Tue Jul 14 09:50:29 PDT 2009


---
 gst/fsmsnconference/fs-msn-conference.c  |    4 ++--
 gst/fsmsnconference/fs-msn-participant.c |    2 +-
 gst/fsmsnconference/fs-msn-participant.h |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gst/fsmsnconference/fs-msn-conference.c b/gst/fsmsnconference/fs-msn-conference.c
index 53b4809..bb68b10 100644
--- a/gst/fsmsnconference/fs-msn-conference.c
+++ b/gst/fsmsnconference/fs-msn-conference.c
@@ -116,7 +116,7 @@ static FsSession *fs_msn_conference_new_session (FsBaseConference *conf,
     GError **error);
 
 static FsParticipant *fs_msn_conference_new_participant (FsBaseConference *conf,
-    gchar *cname,
+    const gchar *cname,
     GError **error);
 
 static void _remove_session (gpointer user_data,
@@ -328,7 +328,7 @@ fs_msn_conference_new_session (FsBaseConference *conf,
 
 static FsParticipant *
 fs_msn_conference_new_participant (FsBaseConference *conf,
-                                   gchar *cname,
+                                   const gchar *cname,
                                    GError **error)
 {
   FsMsnConference *self = FS_MSN_CONFERENCE (conf);
diff --git a/gst/fsmsnconference/fs-msn-participant.c b/gst/fsmsnconference/fs-msn-participant.c
index 16372b4..3c1d78d 100644
--- a/gst/fsmsnconference/fs-msn-participant.c
+++ b/gst/fsmsnconference/fs-msn-participant.c
@@ -67,7 +67,7 @@ fs_msn_participant_init (FsMsnParticipant *self)
 {
 }
 
-FsMsnParticipant *fs_msn_participant_new (gchar *cname)
+FsMsnParticipant *fs_msn_participant_new (const gchar *cname)
 {
   return g_object_new (FS_TYPE_MSN_PARTICIPANT, "cname", cname, NULL);
 }
diff --git a/gst/fsmsnconference/fs-msn-participant.h b/gst/fsmsnconference/fs-msn-participant.h
index 3c59f8f..845dbd3 100644
--- a/gst/fsmsnconference/fs-msn-participant.h
+++ b/gst/fsmsnconference/fs-msn-participant.h
@@ -71,7 +71,7 @@ struct _FsMsnParticipant
 
 GType fs_msn_participant_get_type (void);
 
-FsMsnParticipant *fs_msn_participant_new (gchar *cname);
+FsMsnParticipant *fs_msn_participant_new (const gchar *cname);
 
 G_END_DECLS
 
-- 
1.5.6.5




More information about the farsight-commits mailing list