~ubuntu-branches/ubuntu/saucy/libunique/saucy

« back to all changes in this revision

Viewing changes to unique/uniquemessage.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-12-02 21:26:48 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091202212648-whzlibnidqo5pbh0
Tags: 1.1.6-1ubuntu1
* Sync on Debian
* debian/rules:
  - clean empty translation template it breaks builds

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 * unique_message_data_free().
46
46
 *
47
47
 * You can set data using unique_message_data_set(),
48
 
 * unique_message_data_set_text() or unique_message_data_set_uris().
 
48
 * unique_message_data_set_text(), unique_message_data_set_filename()
 
49
 * or unique_message_data_set_uris().
49
50
 *
50
51
 * You can retrieve the data set using unique_message_data_get(),
51
 
 * unique_message_data_get_text() or unique_message_data_get_uris().
 
52
 * unique_message_data_get_text(), unique_message_data_get_filename()
 
53
 * or unique_message_data_get_uris().
52
54
 */
53
55
 
54
56
GType
384
386
/**
385
387
 * unique_message_data_set_uris:
386
388
 * @message_data: a #UniqueMessageData
387
 
 * @uris: a list of URIs in a string vector
 
389
 * @uris: (array zero-terminated=1) (element-type utf8): a list of URIs
 
390
 *   in a %NULL-terminated string vector
388
391
 *
389
392
 * Converts @uris to a valid URI list and sets it as payload of
390
393
 * @message_data. You can use unique_message_data_get_uris() to
428
431
 * unique_message_data_get_uris:
429
432
 * @message_data: a #UniqueMessageData
430
433
 *
431
 
 * Retrieves a string vector containing the URIs set with
 
434
 * Retrieves a %NULL-terminated string vector containing the URIs set with
432
435
 * unique_message_data_set_uris().
433
436
 *
434
 
 * Return value: an allocated list of URIs. Use g_strfreev() to free it.
 
437
 * Return value: (array zero-terminated=1) (element-type utf8) (transfer full): an allocated list of URIs. Use g_strfreev() to free it.
435
438
 */
436
439
gchar **
437
440
unique_message_data_get_uris (UniqueMessageData *message_data)