Mercurial > hg > forks > geeqie
changeset 2321:ba8be2e7b877
Patch to fix duplicate window update
Fixes #190.
Signed-off-by: Klaus Ethgen <Klaus@Ethgen.de>
author | Michael Schwendt <mschwendt@fedoraproject.org> |
---|---|
date | Fri, 01 Feb 2013 18:44:12 +0100 |
parents | 83ad0736dc11 |
children | 545db68c78ee |
files | src/filedata.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filedata.c Thu May 05 20:29:30 2016 +0100 +++ b/src/filedata.c Fri Feb 01 18:44:12 2013 +0100 @@ -2909,10 +2909,21 @@ void file_data_send_notification(FileData *fd, NotifyType type) { + GList *work = notify_func_list; + + while (work) + { + NotifyData *nd = (NotifyData *)work->data; + + nd->func(fd, type, nd->data); + work = work->next; + } + /* NotifyIdleData *nid = g_new0(NotifyIdleData, 1); nid->fd = file_data_ref(fd); nid->type = type; g_idle_add_full(G_PRIORITY_HIGH, file_data_send_notification_idle_cb, nid, NULL); + */ } static GHashTable *file_data_monitor_pool = NULL;