diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-02 21:25:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-02 21:25:28 -0400 |
| commit | f17078032462c6d9f2649cbae134df736478c001 (patch) | |
| tree | 022684d4e3d6ac5a58554bbed876f320e0da4982 /gtkcalls_unix.go | |
| parent | 74c851754c52adf74e611bc1533c8eb481439d84 (diff) | |
Resolved command-line handling in the GTK+ backend by not doing it and documenting that we don't do it.
Diffstat (limited to 'gtkcalls_unix.go')
| -rw-r--r-- | gtkcalls_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtkcalls_unix.go b/gtkcalls_unix.go index 5b5b90b..c12e255 100644 --- a/gtkcalls_unix.go +++ b/gtkcalls_unix.go @@ -35,7 +35,7 @@ func gtk_init() error { var err *C.GError = nil // redundant in Go, but let's explicitly assign it anyway // gtk_init_with_args() gives us error info (thanks chpe in irc.gimp.net/#gtk+) - // TODO allow GTK+ standard command-line argument processing? + // don't worry about GTK+'s command-line arguments; they're also available as environment variables (thanks mclasen in irc.gimp.net/#gtk+) result := C.gtk_init_with_args(nil, nil, nil, nil, nil, &err) if result == C.FALSE { return fmt.Errorf("error actually initilaizing GTK+: %s", fromgstr(err.message)) |
