mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Fix Linux CI build on Ubuntu 22.04 GTK 4.6.
Provide G_APPLICATION_DEFAULT_FLAGS and css provider fallbacks for older GLib/GTK. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
93ef37132c
commit
d76c636795
2 changed files with 10 additions and 0 deletions
|
|
@ -7,6 +7,11 @@
|
|||
#include <pango/pangocairo.h>
|
||||
#include <math.h>
|
||||
|
||||
/* GLib on Ubuntu 22.04 predates G_APPLICATION_DEFAULT_FLAGS. */
|
||||
#ifndef G_APPLICATION_DEFAULT_FLAGS
|
||||
#define G_APPLICATION_DEFAULT_FLAGS G_APPLICATION_FLAGS_NONE
|
||||
#endif
|
||||
|
||||
#define NUM_UNITS 10
|
||||
#define NUM_UNLOCKED 3 /* first NUM_UNLOCKED units (index 0..2) are open */
|
||||
#define MAX_UNIT_EX 20 /* largest exercise count any unit may have */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue