[glib/mcatanzaro/glib-2-56-rhel8] gnetworkmonitornm: Arguments to g-signal's callback are const



commit eeaf1de6e695afd971d67137caa8e39e1c1267df
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jul 29 17:26:20 2019 +0200

    gnetworkmonitornm: Arguments to g-signal's callback are const

 gio/gnetworkmonitornm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gnetworkmonitornm.c b/gio/gnetworkmonitornm.c
index 52073fac9..479653a51 100644
--- a/gio/gnetworkmonitornm.c
+++ b/gio/gnetworkmonitornm.c
@@ -268,8 +268,8 @@ update_cached_property (GDBusProxy   *proxy,
 
 static void
 proxy_signal_cb (GDBusProxy        *proxy,
-                 gchar             *sender_name,
-                 gchar             *signal_name,
+                 const gchar       *sender_name,
+                 const gchar       *signal_name,
                  GVariant          *parameters,
                  GNetworkMonitorNM *nm)
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]