changeset 22631:487105d73907

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.
author Will Thompson <will.thompson@collabora.co.uk>
date Sat, 12 Apr 2008 17:35:19 +0000
parents b398fe0a450e
children bc9845b6f9c0 0c59913dc8a0
files pidgin/gtkmain.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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