Skip to content

Commit

Permalink
gtk: Editable -> EditableTextWidget (#116)
Browse files Browse the repository at this point in the history
This change is breaking! See PR and relevant issue for more details.
  • Loading branch information
christian-schulze authored Oct 18, 2023
1 parent ad32570 commit 1d128ad
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 88 deletions.
2 changes: 2 additions & 0 deletions gir/cmd/gir-generate/gendata/gendata.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ var Preprocessors = []Preprocessor{
TypeRenamer("GLib-2.file_test", "test_file"),
// This collides with Native().
TypeRenamer("Gtk-4.Native", "NativeSurface"),
// This collides with Editable()
TypeRenamer("Gtk-4.Editable", "EditableTextWidget"),
// These collide with structs of the same names.
RenameEnumMembers("Pango-1.AttrType", "ATTR_(.*)", "ATTR_TYPE_$1"),
RenameEnumMembers("Gsk-4.RenderNodeType", ".*", "${0}_TYPE"),
Expand Down
Loading

0 comments on commit 1d128ad

Please sign in to comment.