diff options
author | Monsta <[email protected]> | 2015-08-24 22:25:31 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-31 14:51:17 +0200 |
commit | e5e2b894e070fd0509c0016e7285d78c6ff543c3 (patch) | |
tree | 6b52f77438b32132f46da5521b3ccc693ba10123 /cut-n-paste/smclient/eggsmclient.c | |
parent | 0f060b5170016a28cf742edbc623dea906fa7f15 (diff) | |
download | atril-e5e2b894e070fd0509c0016e7285d78c6ff543c3.tar.bz2 atril-e5e2b894e070fd0509c0016e7285d78c6ff543c3.tar.xz |
drop support for win32/osx/hildon, make smclient mandatory
Diffstat (limited to 'cut-n-paste/smclient/eggsmclient.c')
-rw-r--r-- | cut-n-paste/smclient/eggsmclient.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cut-n-paste/smclient/eggsmclient.c b/cut-n-paste/smclient/eggsmclient.c index 071618e7..69429cd1 100644 --- a/cut-n-paste/smclient/eggsmclient.c +++ b/cut-n-paste/smclient/eggsmclient.c @@ -25,9 +25,7 @@ #include "eggsmclient.h" #include "eggsmclient-private.h" -#ifdef EGG_SM_CLIENT_BACKEND_XSMP EggSMClient *egg_sm_client_xsmp_new (void); -#endif static void egg_sm_client_debug_handler (const char *log_domain, GLogLevelFlags log_level, @@ -324,23 +322,7 @@ 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 global_client = egg_sm_client_xsmp_new (); -# endif -# ifdef EGG_SM_CLIENT_BACKEND_DBUS - if (!global_client) - global_client = egg_sm_client_dbus_new (); -# endif -#endif } /* Fallback: create a dummy client, so that callers don't have |