On 4/15/2016 at 11:53 PM, Florian Pelz <pelzflor...@pelzflorian.de> wrote:
>GTK+ has no influence on the command line until you call gtk_init on it,
>after which a valid command line remains a valid command line. Your
>problem is not related to GTK+. What influences the command line is the
>way GoLink calls main, so you should be asking your question on the
>GoDev forum. Alternatively, you can use GCC instead of GoDev and follow
>the advice given to you.

That is completely incorrect. By definition, main(argc,argv) means that before
you add even one line of code, argc and argv are on the stack, ready to be
used. All gtk_init() does it take argc and argv, parse it for GTK+ command
line parameters only, remove only the GTK+ command line parameters, then pass
argc and argv back to the program.

What that means is, I can parse the command line before and after gtk_init(),
but the GTK group probably intended users to let gtk_init() parse the command
line first.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to