Mercurial > pidgin
diff console/libgnt/gntutils.h @ 15303:7a52dce840b4
[gaim-migrate @ 18094]
Fix a crash which happens when you rebind some key-bindings.
committer: Tailor Script <tailor@pidgin.im>
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Tue, 09 Jan 2007 00:29:45 +0000 |
| parents | 68385f5bbd61 |
| children | e354528c4163 |
line wrap: on
line diff
--- a/console/libgnt/gntutils.h Tue Jan 09 00:24:55 2007 +0000 +++ b/console/libgnt/gntutils.h Tue Jan 09 00:29:45 2007 +0000 @@ -3,6 +3,8 @@ #include "gnt.h" #include "gntwidget.h" +typedef gpointer (*GDupFunc)(gconstpointer data); + void gnt_util_get_text_bound(const char *text, int *width, int *height); /* excluding *end */ @@ -19,7 +21,8 @@ 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); + GEqualFunc equal, GDestroyNotify key_d, GDestroyNotify value_d, + GDupFunc key_dup, GDupFunc value_dup); /**
