[eog/cherry-pick-d4d8eddc] Merge branch 'bugfix/thumb-view-vis-over-queueing' into 'master'
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/cherry-pick-d4d8eddc] Merge branch 'bugfix/thumb-view-vis-over-queueing' into 'master'
- Date: Sat, 4 Jul 2020 13:34:48 +0000 (UTC)
commit 4218f28ad0f5b16ed19c336c090370c33cfed54e
Author: Felix Riemann <friemann gnome org>
Date: Sat Jul 4 13:33:53 2020 +0000
Merge branch 'bugfix/thumb-view-vis-over-queueing' into 'master'
EogThumbView: Fix visible range callback being queued to often
See merge request GNOME/eog!61
(cherry picked from commit d4d8eddc64133c47472535631229531701c85127)
69e5b843 EogThumbView: Fix visible range callback being called to often
src/eog-thumb-view.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/eog-thumb-view.c b/src/eog-thumb-view.c
index 44b16d12..6493f17e 100644
--- a/src/eog-thumb-view.c
+++ b/src/eog-thumb-view.c
@@ -337,7 +337,9 @@ static void
eog_thumb_view_visible_range_changed (EogThumbView *thumbview)
{
if (thumbview->priv->visible_range_changed_id == 0) {
- g_idle_add ((GSourceFunc)visible_range_changed_cb, thumbview);
+ thumbview->priv->visible_range_changed_id =
+ g_idle_add ((GSourceFunc)visible_range_changed_cb,
+ thumbview);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]