empathy r1646 - trunk/src



Author: xclaesse
Date: Fri Oct 17 12:48:41 2008
New Revision: 1646
URL: http://svn.gnome.org/viewvc/empathy?rev=1646&view=rev

Log:
Use l to iterate a GList, less confusing naming.

Modified:
   trunk/src/empathy-import-dialog.c

Modified: trunk/src/empathy-import-dialog.c
==============================================================================
--- trunk/src/empathy-import-dialog.c	(original)
+++ trunk/src/empathy-import-dialog.c	Fri Oct 17 12:48:41 2008
@@ -169,14 +169,14 @@
 {
   GtkTreeModel *model;
   GtkTreeIter iter;
-  GList *account;
+  GList *l;
 
   model = gtk_tree_view_get_model (GTK_TREE_VIEW (dialog->treeview));
 
-  for (account = dialog->accounts; account; account = account->next)
+  for (l = dialog->accounts; l; l = l->next)
     {
       GValue *value;
-      EmpathyImportAccountData *data = account->data;
+      EmpathyImportAccountData *data = l->data;
       gboolean import;
       GList *accounts;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]