[farsight2/master] Ignore errors when building gupnp context

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


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

diff --git a/fs-upnp-simple-igd.c b/fs-upnp-simple-igd.c
index 7e1fc84..4dbb7e3 100644
--- a/fs-upnp-simple-igd.c
+++ b/fs-upnp-simple-igd.c
@@ -243,10 +243,10 @@ _cp_service_unavail (GUPnPControlPoint *cp,
 
 
 static gboolean
-fs_upnp_simple_igd_build (FsUpnpSimpleIgd *self, GError **error)
+fs_upnp_simple_igd_build (FsUpnpSimpleIgd *self)
 {
   self->priv->gupnp_context = gupnp_context_new (self->priv->main_context,
-      NULL, 0, error);
+      NULL, 0, NULL);
   if (!self->priv->gupnp_context)
     return FALSE;
 
@@ -277,7 +277,7 @@ fs_upnp_simple_igd_new (GMainContext *main_context)
 
   self->priv->main_context = g_main_context_ref (main_context);
 
-  fs_upnp_simple_igd_build (self, NULL);
+  fs_upnp_simple_igd_build (self);
 
   return self;
 }
-- 
1.5.6.5




More information about the farsight-commits mailing list