diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-02 10:05:53 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-02 10:05:53 -0400 |
| commit | 982004d05052ef6aadd22dd5c4e7dbca85ab324a (patch) | |
| tree | 517a0f5a5397e6fb886b5e4741aff4fa18ba10d8 /dialog_unix.go | |
| parent | 09db0bffffded1a68c562b2d6451c2a2b29ac279 (diff) | |
go fmt. Precursor to bug report filing.
Diffstat (limited to 'dialog_unix.go')
| -rw-r--r-- | dialog_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dialog_unix.go b/dialog_unix.go index 777dfb1..c908910 100644 --- a/dialog_unix.go +++ b/dialog_unix.go @@ -25,7 +25,7 @@ import "C" func (w *window) openFile(f func(filename string)) { widget := C.newOpenFileDialog(w.window) window := (*C.GtkWindow)(unsafe.Pointer(widget)) - dialog := (*C.GtkDialog)(unsafe.Pointer(widget)) + dialog := (*C.GtkDialog)(unsafe.Pointer(widget)) fc := (*C.GtkFileChooser)(unsafe.Pointer(widget)) // non-local filenames are relevant mainly to GIO where we can open *anything*, not to Go os.File; see https://twitter.com/braket/status/506142849654870016 C.gtk_file_chooser_set_local_only(fc, C.TRUE) |
