changeset 12551:a22381c9072d

[gaim-migrate @ 14869] warn_unused_result found these committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 18 Dec 2005 20:56:42 +0000
parents 7f0f68ae1f5a
children 5e6c3f539eb6
files plugins/gestures/stroke.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/gestures/stroke.c	Sun Dec 18 19:03:05 2005 +0000
+++ b/plugins/gestures/stroke.c	Sun Dec 18 20:56:42 2005 +0000
@@ -233,7 +233,7 @@
 	  /* add the interpolated point */
 	  new_point_p->x = ix;
 	  new_point_p->y = iy;
-	  g_slist_append (metrics->pointList, new_point_p);
+	  metrics->pointList = g_slist_append (metrics->pointList, new_point_p);
 
 	  /* update metrics */
 	  if (((gint) ix) < metrics->min_x) metrics->min_x = (gint) ix;
@@ -257,7 +257,7 @@
 	  /* add the interpolated point */
 	  new_point_p->y = iy;
 	  new_point_p->x = ix;
-	  g_slist_append(metrics->pointList, new_point_p);
+	  metrics->pointList = g_slist_append(metrics->pointList, new_point_p);
 
 	  /* update metrics */
 	  if (((gint) ix) < metrics->min_x) metrics->min_x = (gint) ix;
@@ -271,7 +271,7 @@
       }
 
       /* add the sampled point */
-      g_slist_append(metrics->pointList, new_point_p);
+      metrics->pointList = g_slist_append(metrics->pointList, new_point_p);
     }
 
     /* record the sampled point values */