Mercurial > pidgin.yaz
changeset 28488:2858857f457b
merge of '2b730bfa4fd98d2ab0b35c3d3830a3383507ba8e'
and '7aaa3ec04ed07ade79fbe591e24914395342bd34'
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 29 Aug 2009 22:05:20 +0000 |
parents | b9a54fa6add2 (diff) a6ac330d4ec6 (current diff) |
children | 614a40c68b88 2f66ad9c32a9 |
files | |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/plugins/gestures/stroke.c Sat Aug 29 07:41:49 2009 +0000 +++ b/pidgin/plugins/gestures/stroke.c Sat Aug 29 22:05:20 2009 +0000 @@ -207,10 +207,7 @@ metrics->max_x = -1; metrics->max_y = -1; - metrics->pointList = (GSList*) g_malloc (sizeof (GSList)); - - metrics->pointList->data = new_point_p; - metrics->pointList->next = NULL; + metrics->pointList = g_slist_prepend(metrics->pointList, new_point_p); metrics->point_count = 0; } else {