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

Jorge Villase?or <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 60b8311c4c2eb929d49f862c5736c5a4b363ed7f
Author:	 Jorge Villase?or <[email protected]>
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.

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.