[farsight2/master] Remove deprecated GLib symbols

Olivier Crête olivier.crete at collabora.co.uk
Sun Apr 26 15:16:01 PDT 2009


---
 gst-libs/gst/farsight/fs-interfaces.c |    2 +-
 tests/check/rtp/sendcodecs.c          |    2 +-
 tests/check/transmitter/multicast.c   |    2 +-
 tests/check/transmitter/nice.c        |    2 +-
 tests/check/transmitter/rawudp.c      |    4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-interfaces.c b/gst-libs/gst/farsight/fs-interfaces.c
index 626a25b..66d936b 100644
--- a/gst-libs/gst/farsight/fs-interfaces.c
+++ b/gst-libs/gst/farsight/fs-interfaces.c
@@ -543,7 +543,7 @@ gchar * fs_interfaces_get_ip_for_interface (gchar *interface_name)
           if_table->table[i].wszName, MAX_INTERFACE_NAME_LEN,
           NULL, NULL, NULL);
 
-      if (g_strcasecmp (interface_name, tmp_str) == 0)
+      if (g_ascii_strcasecmp (interface_name, tmp_str) == 0)
       {
         ret = win32_get_ip_for_interface (if_table->table[i].dwIndex);
         g_free (tmp_str);
diff --git a/tests/check/rtp/sendcodecs.c b/tests/check/rtp/sendcodecs.c
index f7da454..d95147c 100644
--- a/tests/check/rtp/sendcodecs.c
+++ b/tests/check/rtp/sendcodecs.c
@@ -205,7 +205,7 @@ set_codecs (struct SimpleTestConference *dat, FsStream *stream)
       filtered_codecs = g_list_append (filtered_codecs, codec);
     }
     else if (codec->clock_rate == 8000 &&
-        !g_strcasecmp (codec->encoding_name, "telephone-event"))
+        !g_ascii_strcasecmp (codec->encoding_name, "telephone-event"))
     {
       ts_fail_unless (dtmf_id == 0, "More than one copy of telephone-event");
       dtmf_id = codec->id;
diff --git a/tests/check/transmitter/multicast.c b/tests/check/transmitter/multicast.c
index 58afded..0a284f2 100644
--- a/tests/check/transmitter/multicast.c
+++ b/tests/check/transmitter/multicast.c
@@ -202,7 +202,7 @@ run_multicast_transmitter_test (gint n_parameters, GParameter *params,
 
   fs_candidate_list_destroy (candidates);
 
-  g_main_run (loop);
+  g_main_loop_run (loop);
 
   g_object_unref (st);
 
diff --git a/tests/check/transmitter/nice.c b/tests/check/transmitter/nice.c
index a828f93..270191b 100644
--- a/tests/check/transmitter/nice.c
+++ b/tests/check/transmitter/nice.c
@@ -524,7 +524,7 @@ run_nice_transmitter_test (gint n_parameters, GParameter *params,
 
   g_idle_add (check_running, NULL);
 
-  g_main_run (loop);
+  g_main_loop_run (loop);
 
   gst_element_set_state (pipeline, GST_STATE_NULL);
   gst_element_get_state (pipeline, NULL, NULL, GST_CLOCK_TIME_NONE);
diff --git a/tests/check/transmitter/rawudp.c b/tests/check/transmitter/rawudp.c
index 22afb29..5e05c07 100644
--- a/tests/check/transmitter/rawudp.c
+++ b/tests/check/transmitter/rawudp.c
@@ -377,7 +377,7 @@ run_rawudp_transmitter_test (gint n_parameters, GParameter *params,
 
   g_idle_add (check_running, NULL);
 
-  g_main_run (loop);
+  g_main_loop_run (loop);
 
  skip:
 
@@ -635,7 +635,7 @@ GST_START_TEST (test_rawudptransmitter_stop_stream)
 
   g_idle_add (check_running, NULL);
 
-  g_main_run (loop);
+  g_main_loop_run (loop);
 
   gst_element_set_state (pipeline, GST_STATE_NULL);
 
-- 
1.5.6.5



More information about the farsight-commits mailing list