| 443 GtkWidget *pidgin_buddy_icon_chooser_new(GtkWindow *parent, void(*callback)(const char*,gpointer), gpointer data); |
443 GtkWidget *pidgin_buddy_icon_chooser_new(GtkWindow *parent, void(*callback)(const char*,gpointer), gpointer data); |
| 444 |
444 |
| 445 /** |
445 /** |
| 446 * Converts a buddy icon to the required size and format |
446 * Converts a buddy icon to the required size and format |
| 447 * |
447 * |
| 448 * @param plugin The prpl to conver the icon |
448 * @param plugin The prpl to convert the icon |
| 449 * @param path The path of a buddy icon to convert |
449 * @param path The path of a file to convert |
| 450 * @return The name of a new buddy icon |
450 * @param len If not @c NULL, the length of the returned data will be set here. |
| 451 */ |
451 * |
| 452 char* pidgin_convert_buddy_icon(PurplePlugin *plugin, const char *path); |
452 * @return The converted image data, or @c NULL if an error occurred. |
| |
453 */ |
| |
454 gpointer pidgin_convert_buddy_icon(PurplePlugin *plugin, const char *path, size_t *len); |
| 453 |
455 |
| 454 #if !GTK_CHECK_VERSION(2,6,0) |
456 #if !GTK_CHECK_VERSION(2,6,0) |
| 455 /** |
457 /** |
| 456 * Creates a new pixbuf by loading an image from a file. The image will |
458 * Creates a new pixbuf by loading an image from a file. The image will |
| 457 * be scaled to fit in the requested size, optionally preserving the image's |
459 * be scaled to fit in the requested size, optionally preserving the image's |