[gnome-settings-daemon/wip/xsettings-manager: 9/16] xsettings: remove c++ guards from internal headers



commit 948015ea70335dc019cf6929acc64814f0fb7423
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Mar 7 23:21:05 2012 -0500

    xsettings: remove c++ guards from internal headers

 plugins/xsettings/xsettings-common.h  |    8 --------
 plugins/xsettings/xsettings-manager.h |   10 ----------
 2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/plugins/xsettings/xsettings-common.h b/plugins/xsettings/xsettings-common.h
index 4e2007b..5c88ee6 100644
--- a/plugins/xsettings/xsettings-common.h
+++ b/plugins/xsettings/xsettings-common.h
@@ -23,10 +23,6 @@
 #ifndef XSETTINGS_COMMON_H
 #define XSETTINGS_COMMON_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
 typedef struct _XSettingsColor   XSettingsColor;
 typedef struct _XSettingsSetting XSettingsSetting;
 
@@ -66,8 +62,4 @@ int               xsettings_setting_equal (XSettingsSetting *setting_a,
 
 char xsettings_byte_order (void);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
 #endif /* XSETTINGS_COMMON_H */
diff --git a/plugins/xsettings/xsettings-manager.h b/plugins/xsettings/xsettings-manager.h
index a95c482..85f4833 100644
--- a/plugins/xsettings/xsettings-manager.h
+++ b/plugins/xsettings/xsettings-manager.h
@@ -26,10 +26,6 @@
 #include <X11/Xlib.h>
 #include "xsettings-common.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
 typedef struct _XSettingsManager XSettingsManager;
 
 typedef void (*XSettingsTerminateFunc)  (void *cb_data);
@@ -57,10 +53,4 @@ void   xsettings_manager_set_color      (XSettingsManager *manager,
                                          XSettingsColor   *value);
 void   xsettings_manager_notify         (XSettingsManager *manager);
 
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
 #endif /* XSETTINGS_MANAGER_H */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]