Skip to content

Commit

Permalink
Require GLib 2.74
Browse files Browse the repository at this point in the history
This is actually already the case with the use of Idle.add_once

Fixes C warnings.
  • Loading branch information
tintou committed Jul 15, 2024
1 parent a4723a2 commit 56e0eec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You'll need the following dependencies:
* libcanberra-dev
* libclutter-1.0-dev (>= 1.12.0)
* libgee-0.8-dev
* libglib2.0-dev (>= 2.44)
* libglib2.0-dev (>= 2.74)
* libgnome-desktop-3-dev
* libgranite-dev (>= 5.4.0)
* libgtk-3-dev (>= 3.10.0)
Expand Down
6 changes: 3 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ add_project_arguments([
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
'-DGNOME_DESKTOP_USE_UNSTABLE_API',

'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44',
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_44',
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_74',
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_74',
],
language: 'c',
)


# Dependencies
glib_version_required = '2.44.0'
glib_version_required = '2.74.0'
gtk_version_required = '3.10.0'

canberra_dep = dependency('libcanberra')
Expand Down

0 comments on commit 56e0eec

Please sign in to comment.