summaryrefslogtreecommitdiff
path: root/src/platform/wifi/wifi-utils.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-08-25 15:25:27 -0400
committerDan Winship <danw@gnome.org>2014-09-03 16:46:25 -0400
commit79d56375a4773820ffb0e439f1dad94124262a72 (patch)
treee33f6807f067607ecaaa19c6071f0bfbaaa8fa88 /src/platform/wifi/wifi-utils.h
parentbb6a2e6e645c964bce76bad9b8a1bd991a9eb1f7 (diff)
downloadNetworkManager-danw/libnm-props-4.tar.gz
libnm: fix NMIP4Config/NMIP6Config addresses/routes propertiesdanw/libnm-props-4
The docs for NMIP4Config:addresses and NMIP4Config:routes claimed that they were GPtrArrays of NMIP4Address/NMIP4Route, but get_property() was actually trying to set them the D-Bus representation type, and it was failing anyway because it used g_value_set_boxed() on a parameter that was declared GParamSpecPointer. Fix it to use a GPtrArray-valued property, and set it to the right thing. NMIP6Config did the right thing with its :addresses and :routes properties, but was using custom types (NM_TYPE_IP6_ADDRESS_OBJECT_ARRAY and NM_TYPE_IP6_ROUTE_OBJECT_ARRAY). Make it use G_TYPE_PTR_ARRAY instead. nm-types.c, nm-types.h, and nm-types-private.h are now empty, and so can be dropped.
Diffstat (limited to 'src/platform/wifi/wifi-utils.h')
0 files changed, 0 insertions, 0 deletions