cpw.maiku.media_refactor: 9187cf79: Rename purple_media_candidate_from_fs to...

maiku at pidgin.im maiku at pidgin.im
Mon Oct 26 22:46:12 EDT 2009


-----------------------------------------------------------------
Revision: 9187cf79f4f006b57d4f22db2f8c21c1c554cd91
Ancestor: 78c5d416a5b35570258403f735d346a29f76c79d
Author: maiku at pidgin.im
Date: 2009-10-26T22:30:05
Branch: im.pidgin.cpw.maiku.media_refactor
URL: http://d.pidgin.im/viewmtn/revision/info/9187cf79f4f006b57d4f22db2f8c21c1c554cd91

Modified files:
        libpurple/media/backend-fs2.c

ChangeLog: 

Rename purple_media_candidate_from_fs to _candidate_from_fs for consistency.

-------------- next part --------------
============================================================
--- libpurple/media/backend-fs2.c	d8edd69e0e3f064e4da5f627e855432b07af3326
+++ libpurple/media/backend-fs2.c	d2fda032c72b77152f591f11f07fa0d2f44d0a0d
@@ -447,7 +447,7 @@ static PurpleMediaCandidate *
 }
 
 static PurpleMediaCandidate *
-purple_media_candidate_from_fs(FsCandidate *fscandidate)
+_candidate_from_fs(FsCandidate *fscandidate)
 {
 	PurpleMediaCandidate *candidate;
 
@@ -727,7 +727,7 @@ _gst_handle_message_element(GstBus *bus,
 				fs_candidate_copy(local_candidate));
 #endif
 
-		candidate = purple_media_candidate_from_fs(local_candidate);
+		candidate = _candidate_from_fs(local_candidate);
 		g_signal_emit_by_name(self, "new-candidate",
 				session->id, name, candidate);
 		g_object_unref(candidate);
@@ -775,8 +775,8 @@ _gst_handle_message_element(GstBus *bus,
 
 		session = _get_session_from_fs_stream(self, stream);
 
-		lcandidate = purple_media_candidate_from_fs(local_candidate);
-		rcandidate = purple_media_candidate_from_fs(remote_candidate);
+		lcandidate = _candidate_from_fs(local_candidate);
+		rcandidate = _candidate_from_fs(remote_candidate);
 
 		g_signal_emit_by_name(self, "active-candidate-pair",
 				session->id, name, lcandidate, rcandidate);


More information about the Commits mailing list