Re: gtk-list Digest, Vol 133, Issue 2



But g_application_quit seems only executing shutdown..
I may use bool var like is_restarting, and fork in shutdown handler. But fork will live or not, if I do this?

On Sun, May 3, 2015 at 6:00 PM, <gtk-list-request gnome org> wrote:
Send gtk-list mailing list submissions to
        gtk-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        https://mail.gnome.org/mailman/listinfo/gtk-list
or, via email, send a message with subject or body 'help' to
        gtk-list-request gnome org

You can reach the person managing the list at
        gtk-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-list digest..."


Today's Topics:

   1. Re: How to restart a GApplication? (Erick P?rez Castellanos)


----------------------------------------------------------------------

Message: 1
Date: Sat, 2 May 2015 10:53:13 -0400
From: Erick P?rez Castellanos <erickpc gnome org>
To: gtk-list gnome org
Subject: Re: How to restart a GApplication?
Message-ID:
        <CACL=Rj0Xj-Qq5RDuWHGBtM+u0fWurXwguNaNAo85XTbWnPTicA mail gmail com>
Content-Type: text/plain; charset="utf-8"

>
> How to progammatically restart a GApplication? I want this to provide Gnome
> Shell-like -r command.
>

I would fork and exec a launcher, after quiting the application.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.gnome.org/archives/gtk-list/attachments/20150502/d3d7c265/attachment.html>

------------------------------

Subject: Digest Footer

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


------------------------------

End of gtk-list Digest, Vol 133, Issue 2
****************************************



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