Changeset 1773
- Timestamp:
- 03/30/07 18:51:35
- Files:
-
- trunk/libtinymailui-gtk/tny-gtk-header-list-model.c (modified) (5 diffs)
- trunk/libtinymailui-gtk/tny-gtk-header-list-model.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libtinymailui-gtk/tny-gtk-header-list-model.c
r1772 r1773 378 378 g_static_rec_mutex_lock (list_model->iterator_lock); 379 379 380 g_static_rec_mutex_lock (list_model->ra_l_lock); 380 381 if (G_LIKELY (!iter)) 381 382 retval = list_model->items->len; 383 g_static_rec_mutex_unlock (list_model->ra_l_lock); 382 384 383 385 g_static_rec_mutex_unlock (list_model->iterator_lock); … … 447 449 me->updating_views = -1; 448 450 g_mutex_unlock (me->ra_lock); 451 452 g_static_rec_mutex_unlock (me->ra_l_lock); 449 453 g_object_unref (me); 450 454 … … 458 462 GtkTreePath *path; 459 463 gboolean needmore = FALSE; 464 465 g_static_rec_mutex_lock (me->ra_l_lock); 460 466 461 467 g_mutex_lock (me->ra_lock); … … 701 707 g_static_rec_mutex_free (self->iterator_lock); 702 708 self->iterator_lock = NULL; 709 710 g_static_rec_mutex_free (self->ra_l_lock); 711 self->ra_l_lock = NULL; 712 703 713 g_mutex_free (self->ra_lock); 704 714 self->ra_lock = NULL; … … 729 739 self->iterator_lock = g_new0 (GStaticRecMutex, 1); 730 740 g_static_rec_mutex_init (self->iterator_lock); 741 self->ra_l_lock = g_new0 (GStaticRecMutex, 1); 742 g_static_rec_mutex_init (self->ra_l_lock); 743 731 744 self->items = g_ptr_array_sized_new (1000); 732 745 self->updating_views = -1; trunk/libtinymailui-gtk/tny-gtk-header-list-model.h
r1769 r1773 64 64 GObject parent; 65 65 66 GStaticRecMutex *iterator_lock ;66 GStaticRecMutex *iterator_lock, *ra_l_lock; 67 67 TnyFolder *folder; 68 68 gint stamp, recent_updated;
