facebook/facebook-ios-sdk — pull request #409 by dsica (2011-10-24 16:47:01+00:00)
Title: Fix for device orientation warnings

FBDialog.m had compiler warning: Implicit conversion from enumeration type 'UIInterfaceOrientation' to different enumeration type 'UIDeviceOrientation'. Replaced call to [UIApplication sharedApplication].statusBarOrientation to [[UIDevice currentDevice] orientation] to return expected type of UIDeviceOrientation.