Patch from Jeffery Brown to set the idle uiops on OS X when IOKit is available.

Sat, 12 Apr 2008 17:35:19 +0000

author
Will Thompson <resiak@pidgin.im>
date
Sat, 12 Apr 2008 17:35:19 +0000
changeset 22791
6b4c7afad987
parent 22790
48f95ffaed17
child 22792
121982f55f03
child 22795
2b1d41a575f5

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.

pidgin/gtkmain.c file | annotate | diff | comparison | revisions
--- 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
 

mercurial