mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
scroll-view: Support GTK_POLICY_EXTERNAL
GTK+ added a new PolicyType which currently triggers compiler warnings about unhandled values in switch statements. We also have a use case for it already, so add support for the new policy type. https://bugzilla.gnome.org/show_bug.cgi?id=739379
This commit is contained in:
parent
fb5b368ca7
commit
5fca85cd28
2 changed files with 24 additions and 10 deletions
|
|
@ -312,6 +312,9 @@ function test() {
|
|||
button.label = 'NEVER';
|
||||
break;
|
||||
case 'NEVER':
|
||||
button.label = 'EXTERNAL';
|
||||
break;
|
||||
case 'EXTERNAL':
|
||||
button.label = 'AUTOMATIC';
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue