Add names to buttons.

This commit is contained in:
Mitchell Livingston 2006-07-04 15:49:37 +00:00
parent b1322facad
commit 5f8e0d613e
2 changed files with 0 additions and 2 deletions

View File

@ -147,10 +147,8 @@ static void sleepCallBack(void * controller, io_service_t y,
IONotificationPortRef notify;
io_object_t iterator;
if (fRootPort = IORegisterForSystemPower(self, & notify, sleepCallBack, & iterator))
{
CFRunLoopAddSource(CFRunLoopGetCurrent(), IONotificationPortGetRunLoopSource(notify),
kCFRunLoopCommonModes);
}
else
NSLog(@"Could not IORegisterForSystemPower");

Binary file not shown.