Skip to content

Common (Settings): fixes building with dconf but without gio - #2765

Merged
CarterLi merged 1 commit into
fastfetch-cli:devfrom
pkubaj:dconf-fix
Nov 29, 2026
Merged

CarterLi merged 1 commit into
fastfetch-cli:devfrom
pkubaj:dconf-fix

Conversation

@pkubaj

@pkubaj pkubaj commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Summary

GVariantGetters and getGVariantValue() are used by both the
GSettings and the dconf code, but were defined inside the FF_HAVE_GIO
block. Building with -DENABLE_GIO=OFF while dconf stayed enabled
failed with:
settings.c:133:5: error: unknown type name 'GVariantGetters'

Define them whenever either of the two is enabled.

Checklist

  • I have tested my changes locally.

`GVariantGetters` and `getGVariantValue()` are used by both the
GSettings and the dconf code, but were defined inside the `FF_HAVE_GIO`
block. Building with `-DENABLE_GIO=OFF` while dconf stayed enabled
failed with:
    settings.c:133:5: error: unknown type name 'GVariantGetters'

Define them whenever either of the two is enabled.
@CarterLi
CarterLi merged commit b39c099 into fastfetch-cli:dev Nov 29, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants