← Back to team overview

ayatana-commits team mailing list archive

[Branch ~xsplash-team/xsplash/trunk] Rev 78: properly iterate over the signal list

 

------------------------------------------------------------
revno: 78
committer: David Barth <david.barth@xxxxxxxxxxxxx>
branch nick: xsplash
timestamp: Wed 2009-09-30 11:57:55 +0200
message:
  properly iterate over the signal list
modified:
  src/xsplash.c


--
lp:xsplash
https://code.launchpad.net/~xsplash-team/xsplash/trunk

Your team ayatana-commits is subscribed to branch lp:xsplash.
To unsubscribe from this branch go to https://code.launchpad.net/~xsplash-team/xsplash/trunk/+edit-subscription.
=== modified file 'src/xsplash.c'
--- src/xsplash.c	2009-09-29 20:15:46 +0000
+++ src/xsplash.c	2009-09-30 09:57:55 +0000
@@ -840,7 +840,7 @@
 
   g_message ("adding signal `%s'", name);
 
-  for (tmp = signal_list; tmp != NULL; tmp = g_slist_next (signal_list))
+  for (tmp = signal_list; tmp != NULL; tmp = g_slist_next (tmp))
     {
       if (strcmp (tmp->data, name) == 0)
         {