[docs] Fix naming of the interval parameter

The interval parameter is now expressed in frames per second and not
in milliseconds.
This commit is contained in:
Emmanuele Bassi 2009-03-16 16:54:58 +00:00
parent d5ee6fc264
commit e8785fef07

View File

@ -401,7 +401,7 @@ clutter_timeout_pool_new (gint priority)
/** /**
* clutter_timeout_pool_add: * clutter_timeout_pool_add:
* @pool: a #ClutterTimeoutPool * @pool: a #ClutterTimeoutPool
* @interval: the time between calls to the function, in milliseconds * @fps: the time between calls to the function, in frames per second
* @func: function to call * @func: function to call
* @data: data to pass to the function, or %NULL * @data: data to pass to the function, or %NULL
* @notify: function to call when the timeout is removed, or %NULL * @notify: function to call when the timeout is removed, or %NULL
@ -428,7 +428,7 @@ clutter_timeout_pool_new (gint priority)
*/ */
guint guint
clutter_timeout_pool_add (ClutterTimeoutPool *pool, clutter_timeout_pool_add (ClutterTimeoutPool *pool,
guint interval, guint fps,
GSourceFunc func, GSourceFunc func,
gpointer data, gpointer data,
GDestroyNotify notify) GDestroyNotify notify)
@ -436,7 +436,7 @@ clutter_timeout_pool_add (ClutterTimeoutPool *pool,
ClutterTimeout *timeout; ClutterTimeout *timeout;
guint retval = 0; guint retval = 0;
timeout = clutter_timeout_new (interval); timeout = clutter_timeout_new (fps);
retval = timeout->id = pool->next_id++; retval = timeout->id = pool->next_id++;