/pidgin/main: 60b8311c4c2e: Fix GIntrospection annotations on th...

Jorge Villase?or salinasv at pidgin.im
Sat Dec 5 21:21:22 EST 2015


Changeset: 60b8311c4c2eb929d49f862c5736c5a4b363ed7f
Author:	 Jorge Villase?or <salinasv at pidgin.im>
Date:	 2015-11-27 00:22 -0800
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/60b8311c4c2e

Description:

Fix GIntrospection annotations on the Sound API

Add nullable annotation to a couple of identified by GIntrospection.

diffstat:

 libpurple/sound.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/libpurple/sound.h b/libpurple/sound.h
--- a/libpurple/sound.h
+++ b/libpurple/sound.h
@@ -124,7 +124,7 @@ GType purple_sound_ui_ops_get_type(void)
 /**
  * purple_sound_play_file:
  * @filename: The file to play.
- * @account: The account that this sound is associated with, or
+ * @account: (nullable): The account that this sound is associated with, or
  *        NULL if the sound is not associated with any specific
  *        account.  This is needed for the "sounds while away?"
  *        preference to work correctly.
@@ -136,7 +136,7 @@ void purple_sound_play_file(const char *
 /**
  * purple_sound_play_event:
  * @event: The event.
- * @account: The account that this sound is associated with, or
+ * @account: (nullable): The account that this sound is associated with, or
  *        NULL if the sound is not associated with any specific
  *        account.  This is needed for the "sounds while away?"
  *        preference to work correctly.



More information about the Commits mailing list