[PATCH 3/3] Add missing scope annotation

Andrew Bird ajb at spheresystems.co.uk
Wed Nov 14 08:23:56 PST 2012


This patch adds the scope notations needed for gobject
introspection to build without warnings. The value has been
set according to the gist of the comments, but I am not familiar
with the libqmi codebase so please ensure it is correct.

Signed-off-by: Andrew Bird <ajb at spheresystems.co.uk>
---
 libqmi-glib/qmi-message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libqmi-glib/qmi-message.c b/libqmi-glib/qmi-message.c
index a4d1775..e1e90c9 100644
--- a/libqmi-glib/qmi-message.c
+++ b/libqmi-glib/qmi-message.c
@@ -583,7 +583,7 @@ qmi_message_get_raw_tlv (QmiMessage *self,
 /**
  * qmi_message_foreach_raw_tlv:
  * @self: a #QmiMessage.
- * @func: the function to call for each TLV.
+ * @func: (scope notified): the function to call for each TLV.
  * @user_data: user data to pass to the function.
  *
  * Calls the given function for each TLV found within the #QmiMessage.
-- 
1.7.11.7



More information about the libqmi-devel mailing list