# HG changeset patch # User Will Thompson # Date 1208021719 0 # Node ID 487105d73907fe4c08ce4c94c170d8b6b7d393eb # Parent b398fe0a450e6d51b27e1862fed6164b0f73523c Patch from Jeffery Brown to set the idle uiops on OS X when IOKit is available. I haven't tested this on my non-existant Mac, but it's obviously right. Fixes #4905. diff -r b398fe0a450e -r 487105d73907 pidgin/gtkmain.c --- a/pidgin/gtkmain.c Sat Apr 12 12:54:15 2008 +0000 +++ b/pidgin/gtkmain.c Sat Apr 12 17:35:19 2008 +0000 @@ -299,7 +299,7 @@ purple_sound_set_ui_ops(pidgin_sound_get_ui_ops()); purple_connections_set_ui_ops(pidgin_connections_get_ui_ops()); purple_whiteboard_set_ui_ops(pidgin_whiteboard_get_ui_ops()); -#ifdef USE_SCREENSAVER +#if defined(USE_SCREENSAVER) || defined(HAVE_IOKIT) purple_idle_set_ui_ops(pidgin_idle_get_ui_ops()); #endif