summaryrefslogtreecommitdiff
path: root/cut-n-paste-code/libegg/eggsmclient.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-22 16:40:07 +0300
committermonsta <[email protected]>2015-12-22 16:40:07 +0300
commita3a7cbd2e6d718e62904bcadd7ee01a6b283e1cf (patch)
tree725fdd8835d755263ad705baa068b005adb9a0af /cut-n-paste-code/libegg/eggsmclient.c
parentc32f2770d9dd37769efd404b0c547946800b5d00 (diff)
downloadcaja-a3a7cbd2e6d718e62904bcadd7ee01a6b283e1cf.tar.bz2
caja-a3a7cbd2e6d718e62904bcadd7ee01a6b283e1cf.tar.xz
smclient: drop win32/osx support, adjust indent
Diffstat (limited to 'cut-n-paste-code/libegg/eggsmclient.c')
-rw-r--r--cut-n-paste-code/libegg/eggsmclient.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/cut-n-paste-code/libegg/eggsmclient.c b/cut-n-paste-code/libegg/eggsmclient.c
index 235398f4..cce8e6b0 100644
--- a/cut-n-paste-code/libegg/eggsmclient.c
+++ b/cut-n-paste-code/libegg/eggsmclient.c
@@ -333,22 +333,16 @@ egg_sm_client_get (void)
if (global_client_mode != EGG_SM_CLIENT_MODE_DISABLED &&
!sm_client_disable)
{
-#if defined (GDK_WINDOWING_WIN32)
- global_client = egg_sm_client_win32_new ();
-#elif defined (GDK_WINDOWING_QUARTZ)
- global_client = egg_sm_client_osx_new ();
-#else
/* If both D-Bus and XSMP are compiled in, try XSMP first
* (since it supports state saving) and fall back to D-Bus
* if XSMP isn't available.
*/
-# ifdef EGG_SM_CLIENT_BACKEND_XSMP
+#ifdef EGG_SM_CLIENT_BACKEND_XSMP
global_client = egg_sm_client_xsmp_new ();
-# endif
-# ifdef EGG_SM_CLIENT_BACKEND_DBUS
+#endif
+#ifdef EGG_SM_CLIENT_BACKEND_DBUS
if (!global_client)
global_client = egg_sm_client_dbus_new ();
-# endif
#endif
}