diff options
author | monsta <[email protected]> | 2016-11-22 15:23:07 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-22 15:23:07 +0300 |
commit | b4012a6ea1a1d4ba7f87fd37173a3c7b4717c544 (patch) | |
tree | b1c6c3f097626f8348940add37ae51482f4458c4 /gsearchtool | |
parent | c82032d7bf6d186d1b69fa4f982e3bd7625e4144 (diff) | |
download | mate-utils-b4012a6ea1a1d4ba7f87fd37173a3c7b4717c544.tar.bz2 mate-utils-b4012a6ea1a1d4ba7f87fd37173a3c7b4717c544.tar.xz |
gsearchtool: remove win32 & quartz leftovers from libegg
Diffstat (limited to 'gsearchtool')
-rw-r--r-- | gsearchtool/libeggsmclient/eggsmclient-private.h | 6 | ||||
-rw-r--r-- | gsearchtool/libeggsmclient/eggsmclient.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/gsearchtool/libeggsmclient/eggsmclient-private.h b/gsearchtool/libeggsmclient/eggsmclient-private.h index d13035bf..a79f05df 100644 --- a/gsearchtool/libeggsmclient/eggsmclient-private.h +++ b/gsearchtool/libeggsmclient/eggsmclient-private.h @@ -42,12 +42,6 @@ EggSMClient *egg_sm_client_xsmp_new (void); GType egg_sm_client_dbus_get_type (void); EggSMClient *egg_sm_client_dbus_new (void); # endif -#elif defined (GDK_WINDOWING_WIN32) -GType egg_sm_client_win32_get_type (void); -EggSMClient *egg_sm_client_win32_new (void); -#elif defined (GDK_WINDOWING_QUARTZ) -GType egg_sm_client_osx_get_type (void); -EggSMClient *egg_sm_client_osx_new (void); #endif G_END_DECLS diff --git a/gsearchtool/libeggsmclient/eggsmclient.c b/gsearchtool/libeggsmclient/eggsmclient.c index 0cc3818a..4b114e1e 100644 --- a/gsearchtool/libeggsmclient/eggsmclient.c +++ b/gsearchtool/libeggsmclient/eggsmclient.c @@ -320,11 +320,6 @@ 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. @@ -336,7 +331,6 @@ egg_sm_client_get (void) if (!global_client) global_client = egg_sm_client_dbus_new (); # endif -#endif } /* Fallback: create a dummy client, so that callers don't have |