[devhelp] App: do not set GtkApplication:register-session property
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] App: do not set GtkApplication:register-session property
- Date: Sun, 17 Dec 2017 19:31:52 +0000 (UTC)
commit bddbc7219bf35e51b4b531a594da7f8ad7ce5869
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Dec 17 20:24:46 2017 +0100
App: do not set GtkApplication:register-session property
For example gnome-photos don't set this property. I don't think it is
needed. The less code the better.
Setting this property in dh_app_new() is done since the beginning, when
Devhelp has been ported to GtkApplication in
commit 53f9a8ce0c26e26f18187db1b0683b67dd0c24af.
If you revert this commit to add back register-session, add a comment to
explain why (the documentation of GtkApplication:register-session could
be improved too).
src/dh-app.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-app.c b/src/dh-app.c
index 5946b65..c5c1e12 100644
--- a/src/dh-app.c
+++ b/src/dh-app.c
@@ -405,7 +405,6 @@ dh_app_new (void)
return g_object_new (DH_TYPE_APP,
"application-id", "org.gnome.Devhelp",
"flags", G_APPLICATION_HANDLES_COMMAND_LINE,
- "register-session", TRUE,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]