After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622005 - [GApplication] There's no way to modify the "default-quit" propertty
[GApplication] There's no way to modify the "default-quit" propertty
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gapplication
2.25.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 622152 (view as bug list)
Depends on:
Blocks: 622151
 
 
Reported: 2010-06-18 14:19 UTC by Cosimo Cecchi
Modified: 2010-07-14 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[GApplication] Make default-quit not apply if register=FALSE (4.47 KB, patch)
2010-06-18 14:32 UTC, Colin Walters
committed Details | Review

Description Cosimo Cecchi 2010-06-18 14:19:32 UTC
As subject says, the property is construct only and there's no easy way to set that with current GApplication API.
Comment 1 Colin Walters 2010-06-18 14:32:37 UTC
Created attachment 164010 [details] [review]
[GApplication] Make default-quit not apply if register=FALSE

Callers who are using g_application_unregistered_try_new are
likely wanting to continue doing something else if _register()
fails.  Change the semantics so that passing register=FALSE
unsets default-quit as well.  This means that a later _register()
call will send Activate but continue the process.
Comment 2 Christian Dywan 2010-06-21 05:19:23 UTC
*** Bug 622152 has been marked as a duplicate of this bug. ***
Comment 3 Colin Walters 2010-07-10 15:00:29 UTC
Review on this patch appreciated.