Merge lp:~cimi/overlay-scrollbar/hide-thumb-on-selection into lp:overlay-scrollbar
Proposed by
Andrea Cimitan
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ted Gould | ||||
Approved revision: | 220 | ||||
Merged at revision: | 235 | ||||
Proposed branch: | lp:~cimi/overlay-scrollbar/hide-thumb-on-selection | ||||
Merge into: | lp:overlay-scrollbar | ||||
Diff against target: |
122 lines (+83/-1) 1 file modified
os/os-scrollbar.c (+83/-1) |
||||
To merge this branch: | bzr merge lp:~cimi/overlay-scrollbar/hide-thumb-on-selection | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Approve | ||
Mirco Müller | Pending | ||
Review via email: mp+58296@code.launchpad.net |
Description of the change
store a gboolean that is set to TRUE when mouse clicking, and FALSE on mouse release
To post a comment you must log in.
As a general rule of thumb, I would _always_ initialize variables upon declaration and also always check any pointers (xev, gdkevent) against NULL upon function-entry.