[Xfce4-commits] [xfce/xfce4-session] 04/06: merged identic cases (triggered by previous commit a99008c8dbddc038778c8c7e1e080f42c034c3a2)
noreply at xfce.org
noreply at xfce.org
Sat Apr 6 23:38:29 CEST 2019
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-session.
commit 10f46ed4759aa02ceca0a5636a7e9e4a13681b4c
Author: Alexander Schwinn <alexxcons at xfce.org>
Date: Sat Mar 30 22:59:41 2019 +0100
merged identic cases
(triggered by previous commit a99008c8dbddc038778c8c7e1e080f42c034c3a2)
---
xfce4-session/xfsm-manager.c | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/xfce4-session/xfsm-manager.c b/xfce4-session/xfsm-manager.c
index 3d26134..fd4e7af 100644
--- a/xfce4-session/xfsm-manager.c
+++ b/xfce4-session/xfsm-manager.c
@@ -645,20 +645,11 @@ xfsm_manager_load_failsafe (XfsmManager *manager,
g_snprintf (screen_entry, sizeof (screen_entry),
"/sessions/%s/Client%d_PerScreen", failsafe_name, i);
- if (xfconf_channel_get_bool (channel, screen_entry, FALSE))
- {
- fclient = g_new0 (FailsafeClient, 1);
- fclient->command = command;
- fclient->screen = gdk_screen_get_default ();
- g_queue_push_tail (manager->failsafe_clients, fclient);
- }
- else
- {
- fclient = g_new0 (FailsafeClient, 1);
- fclient->command = command;
- fclient->screen = gdk_screen_get_default ();
- g_queue_push_tail (manager->failsafe_clients, fclient);
- }
+
+ fclient = g_new0 (FailsafeClient, 1);
+ fclient->command = command;
+ fclient->screen = gdk_screen_get_default ();
+ g_queue_push_tail (manager->failsafe_clients, fclient);
}
if (g_queue_peek_head (manager->failsafe_clients) == NULL)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list