pidgin/gtkutils.h

branch
soc.2013.gobjectification.plugins
changeset 36544
1bf8b6ef5aea
parent 36543
a8c3fecee2d3
child 36545
23b59a16c808
equal deleted inserted replaced
36543:a8c3fecee2d3 36544:1bf8b6ef5aea
591 GtkWidget *pidgin_buddy_icon_chooser_new(GtkWindow *parent, void(*callback)(const char*,gpointer), gpointer data); 591 GtkWidget *pidgin_buddy_icon_chooser_new(GtkWindow *parent, void(*callback)(const char*,gpointer), gpointer data);
592 592
593 /** 593 /**
594 * Converts a buddy icon to the required size and format 594 * Converts a buddy icon to the required size and format
595 * 595 *
596 * @param prpl_info The prpl to convert the icon 596 * @param protocol The prpl to convert the icon
597 * @param path The path of a file to convert 597 * @param path The path of a file to convert
598 * @param len If not @c NULL, the length of the returned data will be set here. 598 * @param len If not @c NULL, the length of the returned data will be set here.
599 * 599 *
600 * @return The converted image data, or @c NULL if an error occurred. 600 * @return The converted image data, or @c NULL if an error occurred.
601 */ 601 */
602 gpointer pidgin_convert_buddy_icon(PurplePluginProtocolInfo *prpl_info, const char *path, size_t *len); 602 gpointer pidgin_convert_buddy_icon(PurpleProtocol *protocol, const char *path, size_t *len);
603 603
604 /** 604 /**
605 * Converts "->" and "<-" in strings to Unicode arrow characters, for use in referencing 605 * Converts "->" and "<-" in strings to Unicode arrow characters, for use in referencing
606 * menu items. 606 * menu items.
607 * 607 *

mercurial