mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
Fix compilation warning: cast to GCompareFunc
This commit is contained in:
parent
92b1c9150d
commit
c59386ba1d
@ -1426,7 +1426,8 @@ gtk_scale_add_mark (GtkScale *scale,
|
||||
mark->markup = g_strdup (markup);
|
||||
mark->position = position;
|
||||
|
||||
priv->marks = g_slist_insert_sorted (priv->marks, mark, compare_marks);
|
||||
priv->marks = g_slist_insert_sorted (priv->marks, mark,
|
||||
(GCompareFunc) compare_marks);
|
||||
|
||||
n = g_slist_length (priv->marks);
|
||||
values = g_new (gdouble, n);
|
||||
|
Loading…
Reference in New Issue
Block a user