[glib/portal] Avoid an extraneous cast
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/portal] Avoid an extraneous cast
- Date: Wed, 6 Jul 2016 23:52:25 +0000 (UTC)
commit f700245891d16646cb1a70c54179994c61ac11fa
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 6 19:30:23 2016 -0400
Avoid an extraneous cast
Cosimo pointed out that this is unnecessary.
gio/gnetworkmonitorportal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gnetworkmonitorportal.c b/gio/gnetworkmonitorportal.c
index 0d3aeb1..7f1e7c1 100644
--- a/gio/gnetworkmonitorportal.c
+++ b/gio/gnetworkmonitorportal.c
@@ -144,7 +144,7 @@ g_network_monitor_portal_initable_init (GInitable *initable,
g_free (name_owner);
- g_signal_connect (G_OBJECT (proxy), "changed", G_CALLBACK (proxy_changed), nm);
+ g_signal_connect (proxy, "changed", G_CALLBACK (proxy_changed), nm);
nm->priv->proxy = proxy;
nm->priv->network_available = glib_network_available_in_sandbox ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]