mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
gtk/gtkeventcontrollerscroll.c: Include fallback-c89.c
... instead of just math.h, as it uses the C99 function trunc(). This is so that the code builds on pre-C99 compilers.
This commit is contained in:
parent
723e50990f
commit
6cf7297653
@ -60,8 +60,6 @@
|
||||
**/
|
||||
#include "config.h"
|
||||
|
||||
#include "math.h"
|
||||
|
||||
#include "gtkintl.h"
|
||||
#include "gtkwidget.h"
|
||||
#include "gtkeventcontrollerprivate.h"
|
||||
@ -70,6 +68,8 @@
|
||||
#include "gtkmarshalers.h"
|
||||
#include "gtkprivate.h"
|
||||
|
||||
#include "fallback-c89.c"
|
||||
|
||||
#define SCROLL_CAPTURE_THRESHOLD_MS 150
|
||||
|
||||
typedef struct
|
||||
|
Loading…
Reference in New Issue
Block a user