ui: Fix undefined variable warning

gcc is super smart and notices that we don't have a default case here.
This commit is contained in:
Jasper St. Pierre 2015-03-12 13:03:28 -07:00
parent 3471ef3441
commit 656fe49dbe

View File

@ -656,6 +656,7 @@ get_button_rect (MetaButtonType type,
*rect = fgeom->appmenu_rect.visible;
break;
default:
case META_BUTTON_TYPE_LAST:
g_assert_not_reached ();
break;