forked from AuroraMiddleware/gtk
widget: Clarify add_tick_callback docs
You don't pass the callback to remove_tick_callback, but the id returned from add_tick_callback.
This commit is contained in:
parent
e379ea617a
commit
d1cdb9b5cf
@ -3602,7 +3602,8 @@ static guint tick_callback_id;
|
||||
* have to worry about when a #GdkFrameClock is assigned to a widget.
|
||||
*
|
||||
* Returns: an id for the connection of this callback. Remove the callback
|
||||
* by passing it to gtk_widget_remove_tick_callback()
|
||||
* by passing the id returned from this function to
|
||||
* gtk_widget_remove_tick_callback()
|
||||
*/
|
||||
guint
|
||||
gtk_widget_add_tick_callback (GtkWidget *widget,
|
||||
|
Loading…
Reference in New Issue
Block a user