cleanup and fixes for libnice support
This commit is contained in:
parent
2995abfd57
commit
8966bd9ea1
13 changed files with 1252 additions and 449 deletions
|
|
@ -68,7 +68,7 @@ proc main =
|
|||
var iter: TreeIter
|
||||
let h = [typeFromName("guint"), typeFromName("gchararray"), typeFromName("gchararray"),
|
||||
typeFromName("gchararray")]
|
||||
let store = newListStore(Columns, cast[pointer](unsafeaddr h)) # cast is ugly, we should fix it in bindings.
|
||||
let store = newListStore(Columns, cast[ptr GType](unsafeaddr h)) # cast is ugly, we should fix it in bindings.
|
||||
let progNames = ["Gedit", "Gimp", "Inkscape", "Firefox", "Calculator", "Devhelp"]
|
||||
for i, n in progNames:
|
||||
store.append(iter) # currently we have to use setValue() as there is no varargs proc as in C original
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue