From d1cdb9b5cfbd68db7f370b0c64195269384d9190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 5 May 2018 07:38:56 +0200 Subject: [PATCH] widget: Clarify add_tick_callback docs You don't pass the callback to remove_tick_callback, but the id returned from add_tick_callback. --- gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 15c8384bbf..59b6409c98 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -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,