Mercurial > geeqie.yaz
comparison src/layout_image.c @ 1432:cf4029d10d38
improved notification system
author | nadvornik |
---|---|
date | Sat, 14 Mar 2009 17:21:35 +0000 |
parents | 7e180091e0b7 |
children | b4ad1d201279 |
comparison
equal
deleted
inserted
replaced
1431:7e180091e0b7 | 1432:cf4029d10d38 |
---|---|
1877 | 1877 |
1878 void layout_image_notify_cb(FileData *fd, NotifyType type, gpointer data) | 1878 void layout_image_notify_cb(FileData *fd, NotifyType type, gpointer data) |
1879 { | 1879 { |
1880 LayoutWindow *lw = data; | 1880 LayoutWindow *lw = data; |
1881 | 1881 |
1882 if (type != NOTIFY_TYPE_CHANGE || !fd->change) return; | 1882 if (!(type & NOTIFY_CHANGE) || !fd->change) return; |
1883 | 1883 |
1884 switch (fd->change->type) | 1884 switch (fd->change->type) |
1885 { | 1885 { |
1886 case FILEDATA_CHANGE_MOVE: | 1886 case FILEDATA_CHANGE_MOVE: |
1887 case FILEDATA_CHANGE_RENAME: | 1887 case FILEDATA_CHANGE_RENAME: |