diff options
author | monsta <[email protected]> | 2015-12-22 16:40:07 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-12-22 16:40:07 +0300 |
commit | a3a7cbd2e6d718e62904bcadd7ee01a6b283e1cf (patch) | |
tree | 725fdd8835d755263ad705baa068b005adb9a0af /cut-n-paste-code/libegg/eggsmclient-private.h | |
parent | c32f2770d9dd37769efd404b0c547946800b5d00 (diff) | |
download | caja-a3a7cbd2e6d718e62904bcadd7ee01a6b283e1cf.tar.bz2 caja-a3a7cbd2e6d718e62904bcadd7ee01a6b283e1cf.tar.xz |
smclient: drop win32/osx support, adjust indent
Diffstat (limited to 'cut-n-paste-code/libegg/eggsmclient-private.h')
-rw-r--r-- | cut-n-paste-code/libegg/eggsmclient-private.h | 32 |
1 files changed, 10 insertions, 22 deletions
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 <gtk/gtk.h> #if !GTK_CHECK_VERSION(3, 0, 0) - #include <gdkconfig.h> +#include <gdkconfig.h> #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__ */ |