Proposed changes for Pidgin 2.7.0
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 835 bytes
Desc: OpenPGP digital signature
More information about the Devel