Re: GtkApplication and argc/arv

2011-03-10 Thread Murray Cumming
On Thu, 2011-03-10 at 18:41 +, Chris Vine wrote: > On Thu, 10 Mar 2011 16:47:59 +0100 > Murray Cumming wrote: > > If it's most programs then surely you can give some example. I don't > > think that most applications have to deal with caching, bookmarks, and > > history like Firefox. > > I did

Re: GtkApplication and argc/arv

2011-03-10 Thread Chris Vine
On Thu, 10 Mar 2011 16:47:59 +0100 Murray Cumming wrote: > If it's most programs then surely you can give some example. I don't > think that most applications have to deal with caching, bookmarks, and > history like Firefox. I didn't realise you wanted examples, but most programs that have a shar

Re: Using gobject-intro. with something else than Gnome.

2011-03-10 Thread Stef Bon
Yes thanks a lot for your reaction. I've already found the tarball. Stef Bon Voorburg the Netherlands 2011/3/8 Tristan Van Berkom : > On Sun, 2011-03-06 at 17:43 +0100, Stef Bon wrote: >> I'm trying to build the latest version of gobject-introspection. I've >> got it with git. >> >> It's compla

Re: GtkApplication and argc/arv

2011-03-10 Thread Murray Cumming
On Thu, 2011-03-10 at 10:54 -0500, Paul Davis wrote: > On Thu, Mar 10, 2011 at 10:47 AM, Murray Cumming wrote: > > > If it's most programs then surely you can give some example. I don't > > think that most applications have to deal with caching, bookmarks, and > > history like Firefox. > > i thi

Re: GtkApplication and argc/arv

2011-03-10 Thread Paul Davis
On Thu, Mar 10, 2011 at 10:47 AM, Murray Cumming wrote: > If it's most programs then surely you can give some example. I don't > think that most applications have to deal with caching, bookmarks, and > history like Firefox. i think that the kind of thing chris is referring to is something like "

Re: GtkApplication and argc/arv

2011-03-10 Thread Murray Cumming
On Thu, 2011-03-10 at 14:54 +, Chris Vine wrote: > On Thu, 10 Mar 2011 14:48:12 +0100 > Murray Cumming wrote: > > On Thu, 2011-03-10 at 09:59 +, Chris Vine wrote: > > [snip] > > > The case for having single-instance programs in most cases for > > > programs with a GUI interface seems self-

Re: GtkApplication and argc/arv

2011-03-10 Thread Chris Vine
On Thu, 10 Mar 2011 14:48:12 +0100 Murray Cumming wrote: > On Thu, 2011-03-10 at 09:59 +, Chris Vine wrote: > [snip] > > The case for having single-instance programs in most cases for > > programs with a GUI interface seems self-evident to me, since most > > GUI programs keep some running glob

Re: GtkApplication and argc/arv

2011-03-10 Thread Morten Welinder
> Sorry, I don't understand. Could you explain in more detail? If you need to run two different windows in two different locales, then single-instance is not possible. For Gnumeric this happens regularly due to the world's decimal separator mess. The reason you cannot do this in a single instanc

Re: GtkApplication and argc/arv

2011-03-10 Thread Murray Cumming
On Thu, 2011-03-10 at 09:01 -0500, Morten Welinder wrote: > > What global state, for instance? > > locale? > > As a reminder, setlocale is not thread-safe. Sorry, I don't understand. Could you explain in more detail? Why would two separate instances (separate processes) of the same app care if s

Re: GtkApplication and argc/arv

2011-03-10 Thread Morten Welinder
> What global state, for instance? locale? As a reminder, setlocale is not thread-safe. M. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GtkApplication and argc/arv

2011-03-10 Thread Murray Cumming
On Thu, 2011-03-10 at 09:59 +, Chris Vine wrote: [snip] > The case for having single-instance programs in most cases for > programs with a GUI interface seems self-evident to me, since most > GUI programs keep some running global state which would be extremely > tedious to synchronise between d

Re: Reviewing Win32 Patches

2011-03-10 Thread Morten Welinder
Any chance of getting reviews of patches for Win32 bugs? https://bugzilla.gnome.org/show_bug.cgi?id=614920 https://bugzilla.gnome.org/show_bug.cgi?id=619564 https://bugzilla.gnome.org/show_bug.cgi?id=617874 Morten ___ gtk-devel-list mailing list gtk-dev

Re: GtkApplication and argc/arv

2011-03-10 Thread Chris Vine
On Thu, 10 Mar 2011 11:12:39 +0100 Alexandre Mazari wrote: > > However, the deficiency I have found in the past with respect to > > implementing single instance programs using gtk+/gnome is the window > > manager.  Usually in the circumstances I have described you want > > gtk_window_present() to

Re: GtkApplication and argc/arv

2011-03-10 Thread Alexandre Mazari
> However, the deficiency I have found in the past with respect to > implementing single instance programs using gtk+/gnome is the window > manager.  Usually in the circumstances I have described you want > gtk_window_present() to do what it says it does (for the remote dbus > callback to bring up

Re: GtkApplication and argc/arv

2011-03-10 Thread Chris Vine
On Wed, 9 Mar 2011 08:16:44 + Emmanuele Bassi wrote: > On 2011-03-08 at 22:16, Paul Davis wrote: > > On Tue, Mar 8, 2011 at 9:56 PM, Andrew Cowie > > wrote: > > > On Tue, 2011-03-08 at 12:06 +0100, Murray Cumming wrote: > > >> I would very much like some reasoning to point people at when I >