# HG changeset patch # User Will Thompson # Date 1208021719 0 # Node ID 6b4c7afad987fcd269e814d73604ade673fbadc8 # Parent 48f95ffaed17754a486a45083add20b08790eae1 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 48f95ffaed17 -r 6b4c7afad987 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