diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-04-25 23:04:48 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 19:34:55 +0800 |
commit | 30632ed84b27b97089e709688ddbc7f6fb0db69c (patch) | |
tree | 274b8adc6279d3fddb79681f6f8a5ef87a1ab55b /libempathy-gtk | |
parent | 5f5c01b0844c63141a1f4bf7faaa7eea0553a239 (diff) | |
download | gsoc2013-empathy-30632ed84b27b97089e709688ddbc7f6fb0db69c.tar gsoc2013-empathy-30632ed84b27b97089e709688ddbc7f6fb0db69c.tar.gz gsoc2013-empathy-30632ed84b27b97089e709688ddbc7f6fb0db69c.tar.bz2 gsoc2013-empathy-30632ed84b27b97089e709688ddbc7f6fb0db69c.tar.lz gsoc2013-empathy-30632ed84b27b97089e709688ddbc7f6fb0db69c.tar.xz gsoc2013-empathy-30632ed84b27b97089e709688ddbc7f6fb0db69c.tar.zst gsoc2013-empathy-30632ed84b27b97089e709688ddbc7f6fb0db69c.zip |
Block the callback when clearing the store
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-log-window.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index 6b1cde8c2..7a9af576a 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -2522,7 +2522,16 @@ log_window_chats_get_messages (EmpathyLogWindow *window, { if (force_get_dates) { + g_signal_handlers_block_by_func (selection, + log_window_when_changed_cb, + window); + gtk_list_store_clear (store); + + g_signal_handlers_unblock_by_func (selection, + log_window_when_changed_cb, + window); + populate_dates_from_search_hits (accounts, targets); } else |