From f17078032462c6d9f2649cbae134df736478c001 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 2 Jun 2014 21:25:28 -0400 Subject: Resolved command-line handling in the GTK+ backend by not doing it and documenting that we don't do it. --- gtkcalls_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtkcalls_unix.go') 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)) -- cgit v1.2.3