diff options
author | Thomas Haller <thaller@redhat.com> | 2015-04-28 17:59:07 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-04-28 18:25:43 +0200 |
commit | b5beaef8fa19a85110582b3c4439daa49e567d85 (patch) | |
tree | f84fcc22c2deb954dc1894e7721396bc866ef52f /libnm-glib/nm-access-point.h | |
parent | af2c0ef7714c8a10ae9d211497f032dd5c76fcdb (diff) |
utils: add nm_clear_g_source() helper
Utility function to simplify the following common code:
if (priv->timeout_id) {
g_source_remove (priv->timeout_id);
priv->timeout_id = 0;
}
to
nm_clear_g_source (&priv->timeout_id);
Diffstat (limited to 'libnm-glib/nm-access-point.h')
0 files changed, 0 insertions, 0 deletions