Merge lp:~cimi/overlay-scrollbar/scrolled-window-offset into lp:overlay-scrollbar
Proposed by
Andrea Cimitan
Status: | Merged |
---|---|
Merged at revision: | 156 |
Proposed branch: | lp:~cimi/overlay-scrollbar/scrolled-window-offset |
Merge into: | lp:overlay-scrollbar |
Diff against target: |
74 lines (+22/-8) 1 file modified
os/os-scrollbar.c (+22/-8) |
To merge this branch: | bzr merge lp:~cimi/overlay-scrollbar/scrolled-window-offset |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mikkel Kamstrup Erlandsen (community) | Approve | ||
Review via email:
|
Description of the change
checks for scrolled window on parent set, eventually applies an offset
To post a comment you must log in.
12 + if (GTK_SCROLLED_ WINDOW (priv->parent) && window_ get_shadow_ type (GTK_SCROLLED_ WINDOW (priv->parent)) != GTK_SHADOW_NONE)
13 + gtk_scrolled_
14 + offset = 1;
Is guess you mean GTK_IS_ SCROLLED_ WINDOW( ) here and not just GTK_SCROLLED_ WINDOW( )
49 + if (GTK_SCROLLED_ WINDOW (widget) && window_ get_shadow_ type (GTK_SCROLLED_ WINDOW (widget)) != GTK_SHADOW_NONE)
50 + gtk_scrolled_
51 + offset = 1;
Ditto.
Otherwise looks good to me, so conditionally approved with ^^ fixed :-)