diff libpurple/media/backend-fs2.c @ 29180:90c48f1e479a

Change the media backend interface's set_send_codec to return gboolean to be consistent with the PurpleMedia API.
author maiku@pidgin.im
date Mon, 26 Oct 2009 23:17:38 +0000
parents a39696686dd6
children ec5ed142f551
line wrap: on
line diff
--- a/libpurple/media/backend-fs2.c	Mon Oct 26 23:10:53 2009 +0000
+++ b/libpurple/media/backend-fs2.c	Mon Oct 26 23:17:38 2009 +0000
@@ -79,8 +79,9 @@
 		PurpleMediaBackend *self,
 		const gchar *sess_id, const gchar *participant,
 		GList *codecs);
-static void purple_media_backend_fs2_set_send_codec(PurpleMediaBackend *self,
-		const gchar *sess_id, PurpleMediaCodec *codec);
+static gboolean purple_media_backend_fs2_set_send_codec(
+		PurpleMediaBackend *self, const gchar *sess_id,
+		PurpleMediaCodec *codec);
 
 struct _PurpleMediaBackendFs2Class
 {
@@ -1457,10 +1458,11 @@
 	return TRUE;
 }
 
-static void
+static gboolean
 purple_media_backend_fs2_set_send_codec(PurpleMediaBackend *self,
 		const gchar *sess_id, PurpleMediaCodec *codec)
 {
+	return TRUE;
 }
 
 FsConference *