Add full variant to the approximate timeout functiont
authorEmmanuele Bassi <ebassi@src.gnome.org>
Mon, 18 Jun 2007 16:55:50 +0000 (16:55 +0000)
committerEmmanuele Bassi <ebassi@src.gnome.org>
Mon, 18 Jun 2007 16:55:50 +0000 (16:55 +0000)
commit00ab83b8e8909cdaad4af57e33db4ed2b4fc6d93
treea1f520bd9f9c94d67d472414c8b54b0edcbd231a
parent7a6d2233e4502ff806e33de783ab29b68dcee167
Add full variant to the approximate timeout functiont

The g_timeout_add_seconds() API lacks a _full() counterpart, allowing the
setting of a destroy notification function to be invoked when the timeout
source is removed.

This patch adds g_timeout_add_seconds_full() to the public API and
reimplements g_timeout_add_seconds() as a call to g_timeout_add_seconds_full().

svn path=/trunk/; revision=5575
ChangeLog
docs/reference/ChangeLog
docs/reference/glib/glib-sections.txt
glib/glib.symbols
glib/gmain.c
glib/gmain.h