diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-25 19:11:17 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-25 19:11:17 +0100 |
commit | 3ff6354a7c7c04ffda21ce6f20ee77788659352c (patch) | |
tree | 88cbc1f8ad209ba16de109f846654dbd556cf6b6 /lib/wrappers/gtk | |
parent | a8f6d307a9fa4a27f54734604620e1763a8eafa5 (diff) | |
download | Nim-3ff6354a7c7c04ffda21ce6f20ee77788659352c.tar.gz |
Bugfix: code generation bug that affected dialogs.nim
Diffstat (limited to 'lib/wrappers/gtk')
-rwxr-xr-x | lib/wrappers/gtk/gtk2.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/wrappers/gtk/gtk2.nim b/lib/wrappers/gtk/gtk2.nim index f1690048b..f82547471 100755 --- a/lib/wrappers/gtk/gtk2.nim +++ b/lib/wrappers/gtk/gtk2.nim @@ -5373,7 +5373,7 @@ const RESPONSE_ACCEPT* = - cint(3) RESPONSE_DELETE_EVENT* = - cint(4) RESPONSE_OK* = - cint(5) - RESPONSE_CANCEL* = - cint(6) + RESPONSE_CANCEL* = cint(-6) RESPONSE_CLOSE* = - cint(7) RESPONSE_YES* = - cint(8) RESPONSE_NO* = - cint(9) @@ -16652,6 +16652,7 @@ proc file_chooser_dialog_new*(title: cstring, parent: PWindow, action: TFileChooserAction, first_button_text: cstring): PFileChooser{.cdecl, varargs, dynlib: lib, importc: "gtk_file_chooser_dialog_new".} + proc file_chooser_dialog_new_with_backend*(title: cstring, parent: PWindow, action: TFileChooserAction, backend: cstring, first_button_text: cstring): PFileChooser{. varargs, cdecl, dynlib: lib, |