From a3a7cbd2e6d718e62904bcadd7ee01a6b283e1cf Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 22 Dec 2015 16:40:07 +0300 Subject: smclient: drop win32/osx support, adjust indent --- cut-n-paste-code/libegg/eggsmclient-private.h | 32 +++++++++------------------ 1 file changed, 10 insertions(+), 22 deletions(-) (limited to 'cut-n-paste-code/libegg/eggsmclient-private.h') diff --git a/cut-n-paste-code/libegg/eggsmclient-private.h b/cut-n-paste-code/libegg/eggsmclient-private.h index e187285b..91cdf92d 100644 --- a/cut-n-paste-code/libegg/eggsmclient-private.h +++ b/cut-n-paste-code/libegg/eggsmclient-private.h @@ -23,40 +23,28 @@ #include #if !GTK_CHECK_VERSION(3, 0, 0) - #include +#include #endif #include "eggsmclient.h" -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS - GKeyFile *egg_sm_client_save_state (EggSMClient *client); - void egg_sm_client_quit_requested (EggSMClient *client); - void egg_sm_client_quit_cancelled (EggSMClient *client); - void egg_sm_client_quit (EggSMClient *client); +GKeyFile *egg_sm_client_save_state (EggSMClient *client); +void egg_sm_client_quit_requested (EggSMClient *client); +void egg_sm_client_quit_cancelled (EggSMClient *client); +void egg_sm_client_quit (EggSMClient *client); #if defined (GDK_WINDOWING_X11) -# ifdef EGG_SM_CLIENT_BACKEND_XSMP +#ifdef EGG_SM_CLIENT_BACKEND_XSMP GType egg_sm_client_xsmp_get_type (void); EggSMClient *egg_sm_client_xsmp_new (void); -# endif -# ifdef EGG_SM_CLIENT_BACKEND_DBUS +#endif +#ifdef EGG_SM_CLIENT_BACKEND_DBUS 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 - -#ifdef __cplusplus -} #endif +G_END_DECLS #endif /* __EGG_SM_CLIENT_PRIVATE_H__ */ -- cgit v1.2.1