comparison console/libgnt/gntutils.h @ 14793:8a0cfee11af8

[gaim-migrate @ 17558] Introduce actions. You can specify the bindings for the actions. Right now, only the tree and the entry widget have them. The manual includes the details. I believe Ethan had suggested something like this a while back. It made sense, so here it is. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 21 Oct 2006 21:08:24 +0000
parents cfd5bcc06a7e
children 68385f5bbd61
comparison
equal deleted inserted replaced
14792:242f948ee707 14793:8a0cfee11af8
15 * 'maxw' can be <= 0, in which case the maximum screen width is considered. 15 * 'maxw' can be <= 0, in which case the maximum screen width is considered.
16 * 16 *
17 * Returns a newly allocated string. 17 * Returns a newly allocated string.
18 */ 18 */
19 char *gnt_util_onscreen_fit_string(const char *string, int maxw); 19 char *gnt_util_onscreen_fit_string(const char *string, int maxw);
20
21 GHashTable *g_hash_table_duplicate(GHashTable *src, GHashFunc hash,
22 GEqualFunc equal, GDestroyNotify key_d, GDestroyNotify value_d);