Skip to content

Commit f952523

Browse files
authored
adapt to Gtk v0.7 (#8)
* adapt to Gtk v0.7 This version has breaking changes to TextView API affecting any methods that take a GtkTextIter
1 parent 3efb293 commit f952523

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
julia-version:
17-
- "1.6"
1817
- "1"
1918
os:
2019
- ubuntu-latest

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name = "GtkMarkdownTextView"
22
uuid = "26d59822-f2b6-4a0d-bae1-4d8fc12fd86b"
3-
version = "0.2.1"
3+
version = "0.3.0"
44

55
[deps]
66
Gtk4 = "9db2cae5-386f-4011-9d63-a5602296539b"
77
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
88

99
[compat]
10-
Gtk4 = "0.5, 0.6"
11-
julia = "1.6"
12-
Markdown = "1.6"
10+
Gtk4 = "0.7"
11+
julia = "1.10"
12+
Markdown = "1.10"
1313

1414
[extras]
1515
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

src/GtkMarkdownTextView.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module GtkMarkdownTextView
22

33
using Gtk4
4-
import Gtk4: _GtkTextIter, create_tag, apply_tag
4+
import Gtk4: create_tag, apply_tag
55
import Gtk4.GLib: gobject_move_ref, GObject
66

77
using Markdown
@@ -71,7 +71,7 @@ module GtkMarkdownTextView
7171

7272
function tag(buffer, what, i, j)
7373
apply_tag(buffer, what,
74-
_GtkTextIter(buffer, i), _GtkTextIter(buffer, j)
74+
GtkTextIter(buffer, i), GtkTextIter(buffer, j)
7575
)
7676
end
7777

0 commit comments

Comments
 (0)