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:
Florian Müllner
2014-10-14 13:50:29 +02:00
parent fb5b368ca7
commit 5fca85cd28
2 changed files with 24 additions and 10 deletions

View File

@ -312,6 +312,9 @@ function test() {
button.label = 'NEVER';
break;
case 'NEVER':
button.label = 'EXTERNAL';
break;
case 'EXTERNAL':
button.label = 'AUTOMATIC';
break;
}