]> git.pld-linux.org Git - packages/xfce4-session.git/commitdiff
- fix condition nesting in systemd support patch auto/th/xfce4-session-4.10.0-6
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 7 Aug 2013 11:12:39 +0000 (13:12 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 7 Aug 2013 11:12:39 +0000 (13:12 +0200)
- rel 6

xfce4-session-add-systemd-support.patch
xfce4-session.spec

index 620bdcaf48d6f12bff65c0cfb6e391ba9edf2df9..75eb6c08635c52ca6166849f9f23c99778e5b14e 100644 (file)
@@ -170,10 +170,10 @@ diff -up xfce4-session-4.10.0/xfce4-session/xfsm-shutdown.c.systemd xfce4-sessio
      }
  
 +#ifdef HAVE_SYSTEMD
-+  if (shutdown->systemd_proxy)
++  if (shutdown->systemd_proxy) {
 +    if (systemd_proxy_can_restart (shutdown->systemd_proxy, can_restart, error))
 +      return TRUE;
-+  else
++  else
 +#endif
    if (xfsm_consolekit_can_restart (shutdown->consolekit, can_restart, error))
      return TRUE;
@@ -183,10 +183,10 @@ diff -up xfce4-session-4.10.0/xfce4-session/xfsm-shutdown.c.systemd xfce4-sessio
      }
  
 +#ifdef HAVE_SYSTEMD
-+  if (shutdown->systemd_proxy)
++  if (shutdown->systemd_proxy) {
 +    if (systemd_proxy_can_shutdown (shutdown->systemd_proxy, can_shutdown, error))
 +      return TRUE;
-+  else
++  else
 +#endif
    if (xfsm_consolekit_can_shutdown (shutdown->consolekit, can_shutdown, error))
      return TRUE;
index 5dc66943c0b5f8b6a98d4a669df029293ff51f29..2afec8905befa00f0413b7c25eb073f18d1086f9 100644 (file)
@@ -6,7 +6,7 @@ Summary:        Xfce session manager
 Summary(pl.UTF-8):     Zarządca sesji Xfce
 Name:          xfce4-session
 Version:       4.10.0
-Release:       5
+Release:       6
 License:       GPL v2
 Group:         X11/Applications
 Source0:       http://archive.xfce.org/xfce/4.10/src/%{name}-%{version}.tar.bz2
This page took 0.095465 seconds and 4 git commands to generate.