Re: GtkApplication and argc/arv
- From: Wen-Yen Chuang <caleb calno com>
- To: Tristan Van Berkom <tvb gnome org>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkApplication and argc/arv
- Date: Thu, 24 Feb 2011 13:11:02 +0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/24/11 08:41, Tristan Van Berkom wrote:
> As far as I know, GtkApplication depends on GIO, which
> should have some extension points for services on different
> operating systems... using dbus on linux (not exactly sure
> how this works currently in GIO but that's what I suspect
> is going on).
If GtkApplication can use socket or other non-dbus IPC on linux,
I have nothing against it.
However, I failed to find options/conffiles/environment variables to
use GtkApplication without dbus on linux. :-(
> Not sure here either... on the one hand, many apps do not need
> to be single instance... and on the other hand... for apps that do not
> really need to be single instance apps; it does not hurt if they are
> implemented as single instance apps.
It do not hurt, but is not convenient sometimes.
a.) Testing newly-built/new version of libraries and applications
b.) Running multiple versions of the same application
For example, running firefox 3.5, 3.6, and 4.0 at the same time.
c.) For stability
Crash of one process will not affect other processes.
There are many other reasons to not use single instance.
If GtkApplication can not turn off single instance,
I will not use it when I do not need single instance.
Kind regards
Wen-Yen Chuang (caleb)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1l6GYACgkQdEpXpumNYVmVBgCgibhb9DEfWncoxPEVWgdx7zPr
jVkAnjvPP4w/14V202sKlkuJOIeVHym7
=tI+l
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]