[farsight2/master] Use remove-fast

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


---
 fs-upnp-simple-igd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs-upnp-simple-igd.c b/fs-upnp-simple-igd.c
index 5aaefe5..7e1fc84 100644
--- a/fs-upnp-simple-igd.c
+++ b/fs-upnp-simple-igd.c
@@ -237,7 +237,7 @@ _cp_service_unavail (GUPnPControlPoint *cp,
     GUPnPServiceProxy *proxy,
     FsUpnpSimpleIgd *self)
 {
-  if (g_ptr_array_remove(self->priv->service_proxies, proxy))
+  if (g_ptr_array_remove_fast(self->priv->service_proxies, proxy))
     g_object_unref (proxy);
 }
 
-- 
1.5.6.5




More information about the farsight-commits mailing list