Merge lp:~cimi/overlay-scrollbar/fix-907111 into lp:overlay-scrollbar

Proposed by Andrea Cimitan
Status: Merged
Approved by: Charles Kerr
Approved revision: 341
Merged at revision: 342
Proposed branch: lp:~cimi/overlay-scrollbar/fix-907111
Merge into: lp:overlay-scrollbar
Diff against target: 16 lines (+6/-0)
1 file modified
os/os-scrollbar.c (+6/-0)
To merge this branch: bzr merge lp:~cimi/overlay-scrollbar/fix-907111
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
Review via email: mp+98628@code.launchpad.net

Description of the change

Fix 907111 by removing the timeout on dispose, how come I didn't notice this before?

To post a comment you must log in.
Revision history for this message
Charles Kerr (charlesk) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'os/os-scrollbar.c'
2--- os/os-scrollbar.c 2012-03-21 13:12:10 +0000
3+++ os/os-scrollbar.c 2012-03-21 13:37:18 +0000
4@@ -3191,6 +3191,12 @@
5 priv->source_hide_thumb_id = 0;
6 }
7
8+ if (priv->source_show_thumb_id != 0)
9+ {
10+ g_source_remove (priv->source_show_thumb_id);
11+ priv->source_show_thumb_id = 0;
12+ }
13+
14 if (priv->source_unlock_thumb_id != 0)
15 {
16 g_source_remove (priv->source_unlock_thumb_id);

Subscribers

People subscribed via source and target branches