[glib] gdbus: Clarify types of g-properties-changed signal arguments



commit 384a166ed3284f9557d8b7819d95c1639a492132
Author: Philip Withnall <withnall endlessm com>
Date:   Wed Apr 25 15:30:46 2018 +0100

    gdbus: Clarify types of g-properties-changed signal arguments
    
    Make it a bit more obvious that the changed properties are provided as
    an a{sv}.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    Reviewed-by: nobody

 gio/gdbusobjectmanagerclient.c | 2 +-
 gio/gdbusproxy.c               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gdbusobjectmanagerclient.c b/gio/gdbusobjectmanagerclient.c
index 08c94d506..6a59c28b4 100644
--- a/gio/gdbusobjectmanagerclient.c
+++ b/gio/gdbusobjectmanagerclient.c
@@ -531,7 +531,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
    * @manager: The #GDBusObjectManagerClient emitting the signal.
    * @object_proxy: The #GDBusObjectProxy on which an interface has properties that are changing.
    * @interface_proxy: The #GDBusProxy that has properties that are changing.
-   * @changed_properties: A #GVariant containing the properties that changed.
+   * @changed_properties: A #GVariant containing the properties that changed (type: `a{sv}`).
    * @invalidated_properties: (array zero-terminated=1) (element-type utf8): A %NULL terminated
    *   array of properties that were invalidated.
    *
diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c
index 38ccd285a..ae7058371 100644
--- a/gio/gdbusproxy.c
+++ b/gio/gdbusproxy.c
@@ -572,7 +572,7 @@ g_dbus_proxy_class_init (GDBusProxyClass *klass)
   /**
    * GDBusProxy::g-properties-changed:
    * @proxy: The #GDBusProxy emitting the signal.
-   * @changed_properties: A #GVariant containing the properties that changed
+   * @changed_properties: A #GVariant containing the properties that changed (type: `a{sv}`)
    * @invalidated_properties: A %NULL terminated array of properties that was invalidated
    *
    * Emitted when one or more D-Bus properties on @proxy changes. The


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