carousel: use double to translate coordinates
That's what GTK4 expects now.
This commit is contained in:
parent
03ecb2dcb2
commit
e088443645
|
@ -91,7 +91,7 @@ mct_carousel_item_get_x (MctCarouselItem *item,
|
||||||
{
|
{
|
||||||
GtkWidget *widget, *parent;
|
GtkWidget *widget, *parent;
|
||||||
gint width;
|
gint width;
|
||||||
gint dest_x;
|
gdouble dest_x;
|
||||||
|
|
||||||
parent = GTK_WIDGET (carousel->stack);
|
parent = GTK_WIDGET (carousel->stack);
|
||||||
widget = GTK_WIDGET (item);
|
widget = GTK_WIDGET (item);
|
||||||
|
|
Loading…
Reference in New Issue