View | Details | Raw Unified | Return to bug 270449
Collapse All | Expand All

(-)x11-toolkits/gtk20/files/patch-gtk_gtkscale.c (+11 lines)
Added Link Here
1
--- gtk/gtkscale.c.orig	2020-12-18 05:29:40 UTC
2
+++ gtk/gtkscale.c
3
@@ -1471,7 +1471,7 @@ gtk_scale_add_mark (GtkScale        *scale,
4
   mark->position = position;
5
  
6
   priv->marks = g_slist_insert_sorted_with_data (priv->marks, mark,
7
-                                                 (GCompareFunc) compare_marks,
8
+                                                 (GCompareDataFunc) compare_marks,
9
                                                  GINT_TO_POINTER (
10
                                                    gtk_range_get_inverted (GTK_RANGE (scale)) 
11
                                                    ));

Return to bug 270449