[farsight2/master] Update python bindings and doc to force_remote_candidates()

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:24:06 PST 2008


---
 docs/libs/farsight2-libs-sections.txt |    4 ++--
 python/pyfarsight.defs                |   12 +++---------
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/docs/libs/farsight2-libs-sections.txt b/docs/libs/farsight2-libs-sections.txt
index 53f9e1d..12664f0 100644
--- a/docs/libs/farsight2-libs-sections.txt
+++ b/docs/libs/farsight2-libs-sections.txt
@@ -25,8 +25,8 @@ FsStreamClass
 FsStreamDirection
 FsStreamState
 fs_stream_set_remote_candidates
-fs_stream_select_candidate_pair
 fs_stream_set_remote_codecs
+fs_stream_force_remote_candidates
 fs_stream_emit_error
 fs_stream_emit_src_pad_added
 <SUBSECTION Standard>
@@ -178,8 +178,8 @@ fs_transmitter_get_type
 FsStreamTransmitter
 FsStreamTransmitterClass
 fs_stream_transmitter_set_remote_candidates
-fs_stream_transmitter_select_candidate_pair
 fs_stream_transmitter_gather_local_candidates
+fs_stream_transmitter_force_remote_candidates
 fs_stream_transmitter_stop
 fs_stream_transmitter_emit_error
 <SUBSECTION Standard>
diff --git a/python/pyfarsight.defs b/python/pyfarsight.defs
index 62e7e87..e30e768 100644
--- a/python/pyfarsight.defs
+++ b/python/pyfarsight.defs
@@ -517,14 +517,13 @@
   )
 )
 
-(define-method select_candidate_pair
+(define-method force_remote_candidates
   (of-object "FsStream")
   (unblock-threads t)
-  (c-name "fs_stream_select_candidate_pair")
+  (c-name "fs_stream_force_remote_candidates")
   (return-type "gboolean")
   (parameters
-    '("const-gchar*" "local_foundation")
-    '("const-gchar*" "remote_foundation")
+    '("GList*" "remote_candidates")
     '("GError**" "error")
   )
 )
@@ -659,11 +658,6 @@
   (return-type "GType")
 )
 
-(define-function fs_stream_state_get_type
-  (c-name "fs_stream_state_get_type")
-  (return-type "GType")
-)
-
 (define-function fs_error_get_type
   (c-name "fs_error_get_type")
   (return-type "GType")
-- 
1.5.6.5




More information about the farsight-commits mailing list