Mercurial > pidgin.yaz
view console/libgnt/gntutils.h @ 14806:a2be9307d58d
[gaim-migrate @ 17571]
18:40:29 <casted> Hi, I found a bug in the gaim-remote script
18:41:48 <casted> ok. On line 104 it is currently: status_type = gaim.GaimSavedStatusGetType(current)
18:41:57 <casted> but should be: status_type = gaim.GaimSavedstatusGetType(current)
18:42:06 <casted> the status must be lowercase
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Mon, 23 Oct 2006 23:30:15 +0000 |
parents | 8a0cfee11af8 |
children | 68385f5bbd61 |
line wrap: on
line source
#include <glib.h> #include "gnt.h" #include "gntwidget.h" void gnt_util_get_text_bound(const char *text, int *width, int *height); /* excluding *end */ int gnt_util_onscreen_width(const char *start, const char *end); const char *gnt_util_onscreen_width_to_pointer(const char *str, int len, int *w); /* Inserts newlines in 'string' where necessary so that its onscreen width is * no more than 'maxw'. * 'maxw' can be <= 0, in which case the maximum screen width is considered. * * Returns a newly allocated string. */ char *gnt_util_onscreen_fit_string(const char *string, int maxw); GHashTable *g_hash_table_duplicate(GHashTable *src, GHashFunc hash, GEqualFunc equal, GDestroyNotify key_d, GDestroyNotify value_d);