Proposed changes for Pidgin 2.7.0

John Bailey rekkanoryo at rekkanoryo.org
Wed Jul 15 00:14:50 EDT 2009


Felipe Contreras wrote:
> On Tue, Jul 14, 2009 at 7:11 PM, John Bailey<rekkanoryo at rekkanoryo.org> wrote:
>> Libpurple, since 2.1.0, includes purple_timeout_add_seconds() which does the
>> same thing.  We did this specifically so older glib installations could benefit
>> as well.  This function also has the benefit of not requiring the glib mainloop
>> like g_timeout_add_seconds() does.  For Pidgin and Finch users, this distinction
>> is irrelevant, but other UI's may wish not to use glib's mainloop and instead
>> have their own.  Some UI's may even be *forced* to use a non-glib mainloop.
> 
> "g_timeout_add_seconds(1, ..." is obviously not the same as
> "g_timeout_add(1 * 1000, ..."
> 
> So, no, purple_timeout_add_seconds is not doing the same thing
> compiled for GLib 2.12 than for GLib 2.14.

Yes, I chose my words poorly there.  The point is that you don't have to care
whether glib 2.14.x is in use, as I pointed out in another reply.  If you know
you need power-saving timer groupings for a given embedded device and you know
that your applications use glib, make sure you're using a new enough glib to
make it work.

At any rate, this thread has gone off-topic.  Can we please get back to the
original purpose of this thread?

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/20090715/02a179f2/attachment.sig>


More information about the Devel mailing list