Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 880617
Collapse All | Expand All

(-)./gtk/gtkscale.c.old (-1 / +1 lines)
Lines 1469-1479 gtk_scale_add_mark (GtkScale *sca Link Here
1469
  mark->value = value;
1469
  mark->value = value;
1470
  mark->markup = g_strdup (markup);
1470
  mark->markup = g_strdup (markup);
1471
  mark->position = position;
1471
  mark->position = position;
1472
 
1472
 
1473
  priv->marks = g_slist_insert_sorted_with_data (priv->marks, mark,
1473
  priv->marks = g_slist_insert_sorted_with_data (priv->marks, mark,
1474
                                                 (GCompareFunc) compare_marks,
1474
                                                 compare_marks,
1475
                                                 GINT_TO_POINTER (
1475
                                                 GINT_TO_POINTER (
1476
                                                   gtk_range_get_inverted (GTK_RANGE (scale)) 
1476
                                                   gtk_range_get_inverted (GTK_RANGE (scale)) 
1477
                                                   ));
1477
                                                   ));
1478
1478
1479
  n = g_slist_length (priv->marks);
1479
  n = g_slist_length (priv->marks);

Return to bug 880617