type GObject* = ptr GObjectObj GObjectPtr* = ptr GObjectObj GObjectObj* = object of GTypeInstanceObj ref_count*: guint qdata*: GData
And in my application
import gobject var ttt: ptr GObjectObj var ttta: GObject var tttb: gobject.GObject
For the last line I get
test_completion.nim(72, 19) Hint: conversion from GObject to itself is pointless [ConvFromXtoItselfNotNeeded] test_completion.nim(72, 19) Error: type expected
That was not really expected by me. :-(
import gobject proc test_provider_dispose(gobject: GObject) = var ttta: GObject var tttb: gobject.GObject echo 0 t2.nim(6, 19) Hint: conversion from GObject to itself is pointless [ConvFromXtoItselfNotNeeded] t2.nim(6, 19) Error: type expected