Proposed changes for Pidgin 2.7.0

John Bailey rekkanoryo at rekkanoryo.org
Tue Jul 14 23:35:22 EDT 2009


Felipe Contreras wrote:
> g_timeout_add_seconds was introduced for a reason, not just to
> unburden programmers from the hassle of thinking in milliseconds. So,
> in order to properly use g_timeout_add_seconds, you of course need a
> GLib version that supports that function, otherwise there's no
> advantage of using purple_timeout_add_seconds over purple_timeout_add.

Except that using the _seconds variant allows you not to care if glib supports
it.  This gives you the functionality without the inconvenience of an '#if
GLIB_CHECK_VERSION' in your code.

John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: OpenPGP digital signature
URL: <http://pidgin.im/pipermail/devel/attachments/20090714/4093c4b5/attachment.sig>


More information about the Devel mailing list