~ubuntu-branches/ubuntu/natty/empathy/natty

« back to all changes in this revision

Viewing changes to libempathy-gtk/empathy-individual-store.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-24 17:18:51 UTC
  • mfrom: (1.1.64 upstream)
  • Revision ID: james.westby@ubuntu.com-20101124171851-l9293669588pd8mm
Tags: 2.32.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
327
327
}
328
328
 
329
329
static void
 
330
free_iters (GList *iters)
 
331
{
 
332
  g_list_foreach (iters, (GFunc) gtk_tree_iter_free, NULL);
 
333
  g_list_free (iters);
 
334
}
 
335
 
 
336
static void
330
337
individual_store_remove_individual (EmpathyIndividualStore *self,
331
338
    FolksIndividual *individual)
332
339
{
362
369
        }
363
370
    }
364
371
 
365
 
  g_list_foreach (iters, (GFunc) gtk_tree_iter_free, NULL);
366
 
  g_list_free (iters);
 
372
  free_iters (iters);
367
373
}
368
374
 
369
375
static void
490
496
        }
491
497
    }
492
498
 
493
 
  g_list_foreach (iters, (GFunc) gtk_tree_iter_free, NULL);
494
 
  g_list_free (iters);
495
 
 
 
499
  free_iters (iters);
496
500
}
497
501
 
498
502
static void individual_store_contact_active_free (ShowActiveData *data);
616
620
              EMPATHY_INDIVIDUAL_STORE_COL_PIXBUF_AVATAR, pixbuf,
617
621
              -1);
618
622
        }
 
623
 
 
624
      free_iters (iters);
619
625
    }
620
626
 
621
627
  /* Free things */
786
792
   * timeout removes the user from the contact list, really we
787
793
   * should remove the first timeout.
788
794
   */
789
 
  g_list_foreach (iters, (GFunc) gtk_tree_iter_free, NULL);
790
 
  g_list_free (iters);
 
795
  free_iters (iters);
791
796
}
792
797
 
793
798
static void
1470
1475
 
1471
1476
  tp_clear_object (&individual_a);
1472
1477
  tp_clear_object (&individual_b);
 
1478
  g_free (name_a);
 
1479
  g_free (name_b);
1473
1480
 
1474
1481
  return ret_val;
1475
1482
}