cleanup and fixes for libnice support

This commit is contained in:
Stefan Salewski 2020-10-15 17:02:39 +02:00
commit 8966bd9ea1
13 changed files with 1252 additions and 449 deletions

View file

@ -58,7 +58,7 @@ proc initList(list: TreeView) =
column.addAttribute(renderer, "text", LIST_ITEM)
discard list.appendColumn(column)
let gtype = gStringGetType() # typeFromName("gchararray")
let store = newListStore(N_COLUMNS, cast[pointer]( unsafeaddr gtype)) # cast due to bug in gtk.nim
let store = newListStore(N_COLUMNS, cast[ptr GType]( unsafeaddr gtype)) # cast due to bug in gtk.nim
list.setModel(store)
proc appActivate(app: Application) =