Re: GtkApplication and argc/arv



On Thu, Feb 24, 2011 at 5:55 PM, Colin Walters <walters verbum org> wrote:
> On Thu, Feb 24, 2011 at 5:15 PM, Morten Welinder <mortenw gnome org> wrote:
>
>> What actual problem was solved by all this infrastructure to keep just
>> one instance?
>
> Basically for any application which manipulates private files in any
> form (in Firefox' case, this is the history database), it avoids data
> corruption with uncontrolled access by multiple processes.

That's an excellent reason for making single-process available, but not
an argument (either way) for making it the default.  It certainly doesn't
sound like a problem experienced by, say, evince.

What is the GtkApplication solution to dealing with different environment
variables, including DISPLAY and LANG?

I believe the single/multiple instances is a decision for the developer and
not one Gnome or Gtk should have an opinion on.

Morten


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