[gupnp-igd] Pass GError as pointer, not struct, to g_signal_emit()
- From: Olivier Crête <Tester src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-igd] Pass GError as pointer, not struct, to g_signal_emit()
- Date: Mon, 24 Jun 2013 22:37:46 +0000 (UTC)
commit b0c979055339cf83f0485f545e6740ea7524ae4b
Author: Olivier Crête <olivier crete collabora com>
Date: Mon Jun 24 17:09:11 2013 -0400
Pass GError as pointer, not struct, to g_signal_emit()
libgupnp-igd/gupnp-simple-igd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgupnp-igd/gupnp-simple-igd.c b/libgupnp-igd/gupnp-simple-igd.c
index 3a16b9a..19df78e 100644
--- a/libgupnp-igd/gupnp-simple-igd.c
+++ b/libgupnp-igd/gupnp-simple-igd.c
@@ -605,7 +605,7 @@ _service_proxy_got_external_ip_address (GUPnPServiceProxy *proxy,
"Invalid IP address returned by router"};
g_signal_emit (self, signals[SIGNAL_ERROR_MAPPING_PORT],
- GUPNP_SIMPLE_IGD_ERROR, gerror, pm->mapping->protocol,
+ GUPNP_SIMPLE_IGD_ERROR, &gerror, pm->mapping->protocol,
pm->mapping->requested_external_port, pm->mapping->local_ip,
pm->mapping->local_port, pm->mapping->description);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]