widgets: Remove (GtkTickCallback) casts

Instead, make the functions conform to the prototype, so that casting
isn't needed.
This commit is contained in:
Benjamin Otte
2014-04-16 15:36:22 +02:00
parent 6061f234a9
commit 73aa7bd2f5
4 changed files with 8 additions and 6 deletions

View File

@ -2877,7 +2877,7 @@ add_autoscroll (GtkRange *range)
return;
priv->autoscroll_id = gtk_widget_add_tick_callback (GTK_WIDGET (range),
(GtkTickCallback)autoscroll_cb,
autoscroll_cb,
range,
NULL);
}