range: Fix a copy-paste error
authorMatthias Clasen <mclasen@redhat.com>
Sat, 8 Apr 2023 23:50:16 +0000 (19:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 Apr 2023 10:48:27 +0000 (06:48 -0400)
This was showing up as the alpha popup in
the color editor not being positioned correctly.

gtk/gtkrange.c

index a51c7d447d552dbbbaabd424b73c5a16db106cc6..cf7a0a5bcd94d5480500dfaa807dcdd15718829f 100644 (file)
@@ -1010,7 +1010,7 @@ gtk_range_get_slider_range (GtkRange *range,
   else
     {
       if (slider_start)
-        *slider_start = slider_bounds.origin.y;
+        *slider_start = slider_bounds.origin.x;
       if (slider_end)
         *slider_end = slider_bounds.origin.x + slider_bounds.size.width;
     }