Merge lp:~gue5t/midori/tabby-double into lp:midori
Proposed by
gue5t gue5t
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Paweł Forysiuk | ||||
Approved revision: | 6975 | ||||
Merged at revision: | 6981 | ||||
Proposed branch: | lp:~gue5t/midori/tabby-double | ||||
Merge into: | lp:midori | ||||
Diff against target: |
64 lines (+10/-11) 2 files modified
extensions/tabby.vala (+4/-9) midori/midori-database.vala (+6/-2) |
||||
To merge this branch: | bzr merge lp:~gue5t/midori/tabby-double | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paweł Forysiuk | Approve | ||
Review via email: mp+262936@code.launchpad.net |
Commit message
clean up handling of double-valued db column in Tabby
Description of the change
Right now, running in a new configuration directory causes Tabby to warn because Midori.
This changes get_double to return NAN if the column doesn't exist, which fixes the warning.
This commit also simplifies the logic in Tabby, which currently takes a roundabout path through stringification and parsing.
To post a comment you must log in.