diff options
author | Thomas Haller <thaller@redhat.com> | 2018-03-29 19:27:24 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-04-13 09:09:46 +0200 |
commit | cd71ec3084d972ab70aa6229fd4752317106d281 (patch) | |
tree | 4cad559acdc5eda42f5572d4618220fe531db010 /src/nm-dbus-utils.h | |
parent | 7595b4f1c7d074e9f6c4dc28e58fcaa627fa02a9 (diff) | |
download | NetworkManager-cd71ec3084d972ab70aa6229fd4752317106d281.tar.gz |
core: convert NMDBusObject's "path" property to signal "exported-changed"
The GObject property "path" exists for the sole reasons so that
other components can connect to the "notify::path" signal.
However, notifications are blocked by g_object_freeze_notify(),
and especially for NMDBusObject we want to make use of that to
combine multiple PropertiesChanged events into one.
This blocking of the signal is not desired for the case where
we wait for "notify::path". Convert that to a signal, which
will not be blocked.
Diffstat (limited to 'src/nm-dbus-utils.h')
-rw-r--r-- | src/nm-dbus-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-dbus-utils.h b/src/nm-dbus-utils.h index 62945cf14e..3107a29c82 100644 --- a/src/nm-dbus-utils.h +++ b/src/nm-dbus-utils.h @@ -173,6 +173,8 @@ const char **nm_dbus_utils_get_paths_for_clist (const struct CList *lst_head, void nm_dbus_utils_g_value_set_object_path (GValue *value, gpointer object); +void nm_dbus_utils_g_value_set_object_path_still_exported (GValue *value, gpointer object); + void nm_dbus_utils_g_value_set_object_path_from_hash (GValue *value, GHashTable *hash, gboolean expect_all_exported); |