summaryrefslogtreecommitdiff
path: root/cut-n-paste-code/libegg/eggsmclient-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste-code/libegg/eggsmclient-private.h')
-rw-r--r--cut-n-paste-code/libegg/eggsmclient-private.h32
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__ */