| 488 GdkPixbuf *gdk_pixbuf_new_from_file_at_scale(const char *filename, int width, int height, |
488 GdkPixbuf *gdk_pixbuf_new_from_file_at_scale(const char *filename, int width, int height, |
| 489 gboolean preserve_aspect_ratio, |
489 gboolean preserve_aspect_ratio, |
| 490 GError **error); |
490 GError **error); |
| 491 #endif |
491 #endif |
| 492 |
492 |
| 493 #endif /* _GAIM_GTKUTILS_H_ */ |
|
| 494 |
|
| 495 /** |
493 /** |
| 496 * Set or unset a custom buddyicon for a user. |
494 * Set or unset a custom buddyicon for a user. |
| 497 * |
495 * |
| 498 * @param account The account the user belongs to. |
496 * @param account The account the user belongs to. |
| 499 * @param who The name of the user. |
497 * @param who The name of the user. |
| 521 * @param ... a NULL-terminated list of button labels and callbacks |
519 * @param ... a NULL-terminated list of button labels and callbacks |
| 522 */ |
520 */ |
| 523 void *gaim_gtk_make_mini_dialog(GaimConnection *handle, const char* stock_id, |
521 void *gaim_gtk_make_mini_dialog(GaimConnection *handle, const char* stock_id, |
| 524 const char *primary, const char *secondary, |
522 const char *primary, const char *secondary, |
| 525 void *user_data, ...); |
523 void *user_data, ...); |
| |
524 |
| |
525 /** |
| |
526 * This is a callback function to be used for Ctrl+F searching in treeviews. |
| |
527 * Sample Use: |
| |
528 * gtk_tree_view_set_search_equal_func(treeview, |
| |
529 * gaim_gtk_tree_view_search_equal_func, |
| |
530 * search_data, search_data_destroy_cb); |
| |
531 * |
| |
532 */ |
| |
533 gboolean gaim_gtk_tree_view_search_equal_func(GtkTreeModel *model, gint column, |
| |
534 const gchar *key, GtkTreeIter *iter, gpointer data); |
| |
535 |
| |
536 #endif /* _GAIM_GTKUTILS_H_ */ |
| |
537 |