I have noticed that g_application_run(), when applied to a
GtkApplication object from gtk+-3.12, now consumes and acts on gtk+
recognised options from the argc/argv arguments passed to it, such as
--display and --name, whereas when I tested this in around the
gtk+-3.0/3.2 days it did not.  (The current documentation for
gtk_application_new() still appears to suppose that it does not: "Note
that commandline arguments are not passed to gtk_init(). All GTK+
functionality that is available via commandline arguments can also be
achieved by setting suitable environment variables such as G_DEBUG, so
this should not be a big problem. If you absolutely must support GTK+
commandline arguments, you can explicitly call gtk_init() before
creating the application instance.")

Does anyone know at what version of gio/gtk+ this change occurred?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]