Merge lp:~cimi/overlay-scrollbar/insensitive-state into lp:overlay-scrollbar
Proposed by
Andrea Cimitan
Status: | Merged |
---|---|
Approved by: | Ted Gould |
Approved revision: | 295 |
Merged at revision: | 295 |
Proposed branch: | lp:~cimi/overlay-scrollbar/insensitive-state |
Merge into: | lp:overlay-scrollbar |
Diff against target: |
282 lines (+142/-32) 2 files modified
configure.ac (+1/-1) os/os-scrollbar.c (+141/-31) |
To merge this branch: | bzr merge lp:~cimi/overlay-scrollbar/insensitive-state |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Approve | ||
Review via email: mp+67927@code.launchpad.net |
To post a comment you must log in.
On this line:
return gtk_widget_ get_state_ flags (GTK_WIDGET (scrollbar)) & GTK_STATE_ FLAG_INSENSITIV E;
It would probably be better to do:
return gtk_widget_ get_state_ flags (GTK_WIDGET (scrollbar)) & GTK_STATE_ FLAG_INSENSITIV E != 0;
So that the return value is a boolean proper. Shouldn't be an issue, but it's safer.
That's it, looks good.