diff libpurple/media/backend-iface.c @ 29572:a7cad99144f0

Make the backend interface's set_remote_codecs function return gboolean. This is to match PurpleMedia's set_remote_codecs returning gboolean.
author maiku@pidgin.im
date Mon, 26 Oct 2009 22:59:13 +0000
parents 9f16127441e8
children 90c48f1e479a
line wrap: on
line diff
--- a/libpurple/media/backend-iface.c	Mon Oct 26 22:50:23 2009 +0000
+++ b/libpurple/media/backend-iface.c	Mon Oct 26 22:59:13 2009 +0000
@@ -166,14 +166,14 @@
 			sess_id, participant);
 }
 
-void
+gboolean
 purple_media_backend_set_remote_codecs(PurpleMediaBackend *self,
 		const gchar *sess_id, const gchar *participant,
 		GList *codecs)
 {
-	g_return_if_fail(PURPLE_IS_MEDIA_BACKEND(self));
-	PURPLE_MEDIA_BACKEND_GET_INTERFACE(self)->set_remote_codecs(self,
-			sess_id, participant, codecs);
+	g_return_val_if_fail(PURPLE_IS_MEDIA_BACKEND(self), FALSE);
+	return PURPLE_MEDIA_BACKEND_GET_INTERFACE(self)->set_remote_codecs(
+			self, sess_id, participant, codecs);
 }
 
 void