carousel: use double to translate coordinates

That's what GTK4 expects now.
This commit is contained in:
Georges Basile Stavracas Neto 2022-07-08 16:12:39 -03:00
parent 03ecb2dcb2
commit e088443645
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ mct_carousel_item_get_x (MctCarouselItem *item,
{
GtkWidget *widget, *parent;
gint width;
gint dest_x;
gdouble dest_x;
parent = GTK_WIDGET (carousel->stack);
widget = GTK_WIDGET (item);