diff options
author | Araq <rumpf_a@web.de> | 2012-07-09 00:54:46 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-07-09 00:54:46 +0200 |
commit | 795afb0021094d069b5f77d4b7ba6c9e5fc5d803 (patch) | |
tree | 905751db016f88a7039b3b8d459990060edaa57b /examples | |
parent | f0dd96fa58478f732009def25f527d67d87e464c (diff) | |
download | Nim-795afb0021094d069b5f77d4b7ba6c9e5fc5d803.tar.gz |
made tests green again
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/gtk/ex6.nim | 2 | ||||
-rwxr-xr-x | examples/x11ex.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/gtk/ex6.nim b/examples/gtk/ex6.nim index 4e4c3e864..7374b19cd 100755 --- a/examples/gtk/ex6.nim +++ b/examples/gtk/ex6.nim @@ -38,7 +38,7 @@ add(window, windowbox) discard signal_connect(window, "destroy", SIGNAL_FUNC(ex6.destroy), nil) QuitState.Obj = QuitButton quitState.SignalID = signal_connect_object(QuitState.Obj, "clicked", - SIGNAL_FUNC(widgetDestroy), window) + SIGNAL_FUNC(widgetDestroy), window).int32 QuitState.Disable = True discard signal_connect(disablebutton, "clicked", SIGNAL_FUNC(disablesignal), addr(QuitState)) diff --git a/examples/x11ex.nim b/examples/x11ex.nim index db51df2e0..a32094be4 100755 --- a/examples/x11ex.nim +++ b/examples/x11ex.nim @@ -5,7 +5,7 @@ const WINDOW_HEIGHT = 300 var - width, height: int + width, height: cint display: PDisplay screen: cint depth: int |