pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Update the transparency plugin so it'll load again.
2021-07-23, Gary Kramlich
1eb6d260980d
Update the transparency plugin so it'll load again.
Testing Done:
Ran and loaded the plugin, but was unable to actually test it because the configuration frames for plugins are currently not working.
Reviewed at https://reviews.imfreedom.org/r/828/
/* This file is part of the Project Athena Zephyr Notification System.
* It contains source for the ZPending function.
*
* Created by: Robert French
*
* Copyright (c) 1987 by the Massachusetts Institute of Technology.
* For copying and distribution information, see the file
* "mit-copyright.h".
*/
#include
"internal.h"
int
ZPending
(
void
)
{
int
retval
;
if
(
ZGetSocket
()
==
NULL
)
{
errno
=
ZERR_NOPORT
;
return
(
-1
);
}
if
((
retval
=
Z_ReadEnqueue
())
!=
ZERR_NONE
)
{
errno
=
retval
;
return
(
-1
);
}
return
(
ZQLength
());
}