diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2013-03-22 10:49:19 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2013-03-25 08:41:18 +0100 |
commit | 82fb1978a45e61aaaf9d74042e6262b648bdd548 (patch) | |
tree | 5144bb0b8b25de63da8a8ca207d80be70dc745dd /src/supplicant-manager/nm-supplicant-interface.c | |
parent | a78a1847c6ccf9a95d46b9b819a8988d1d89f11c (diff) | |
download | NetworkManager-82fb1978a45e61aaaf9d74042e6262b648bdd548.tar.gz |
all: use G_VALUE_INIT to initialize GValue variables
It makes the initializations more explicit.
G_VALUE_INIT is available since glib 2.30, and NM now require glib >= 2.32
Diffstat (limited to 'src/supplicant-manager/nm-supplicant-interface.c')
-rw-r--r-- | src/supplicant-manager/nm-supplicant-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplicant-manager/nm-supplicant-interface.c b/src/supplicant-manager/nm-supplicant-interface.c index 92920d31c9..a2170990ee 100644 --- a/src/supplicant-manager/nm-supplicant-interface.c +++ b/src/supplicant-manager/nm-supplicant-interface.c @@ -1276,7 +1276,7 @@ nm_supplicant_interface_set_config (NMSupplicantInterface * self, NMSupplicantInterfacePrivate *priv; NMSupplicantInfo *info; DBusGProxyCall *call; - GValue value = { 0, }; + GValue value = G_VALUE_INIT; g_return_val_if_fail (NM_IS_SUPPLICANT_INTERFACE (self), FALSE); |