Skip to content

Commit

Permalink
Fix crash when trying to open any doc.
Browse files Browse the repository at this point in the history
This crash only happens with GTK4 > ~4.6, it's caused
by a bug in gi-crystal that didn't crash before by pure luck.

Fixes #12
  • Loading branch information
hugopl committed Nov 21, 2023
1 parent e0ebfe3 commit 1687dae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
13 changes: 6 additions & 7 deletions shard.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# NOTICE: This lockfile contains some overrides from shard.override.yml
version: 2.0
shards:
db:
Expand All @@ -11,27 +10,27 @@ shards:

gi-crystal:
git: https://github.com/hugopl/gi-crystal.git
version: 0.17.0
version: 0.20.0

gio:
git: https://github.com/hugopl/gio.cr.git
version: 0.1.0
version: 0.2.0

gtk4: # Overridden
gtk4:
git: https://github.com/hugopl/gtk4.cr.git
version: 0.15.0
version: 0.16.0

harfbuzz:
git: https://github.com/hugopl/harfbuzz.cr.git
version: 0.2.0

libadwaita:
git: https://github.com/geopjr/libadwaita.cr.git
version: 1.0.0+git.commit.23ce21d6400af7563ede0b53deea6d1f77436985
version: 1.0.0+git.commit.cffabb56e911d2a90c53c2fd14d6bd08bf5ac446

pango:
git: https://github.com/hugopl/pango.cr.git
version: 0.2.0
version: 0.3.0

sqlite3:
git: https://github.com/crystal-lang/crystal-sqlite3.git
Expand Down
4 changes: 0 additions & 4 deletions shard.override.yml

This file was deleted.

2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
version: ~> 0.5
libadwaita:
github: GeopJr/libadwaita.cr
branch: main
commit: cffabb56e911d2a90c53c2fd14d6bd08bf5ac446
sqlite3:
github: crystal-lang/crystal-sqlite3
version: ~>0.20.0
Expand Down

0 comments on commit 1687dae

Please sign in to comment.