summaryrefslogtreecommitdiff
path: root/libmate-desktop/private.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-06-23 12:36:57 +0200
committerMichal Ratajsky <[email protected]>2014-06-23 12:36:57 +0200
commit8197f71e2a50b9a74b99315bb481274f612b83b3 (patch)
tree8d13e65e5f411df3d5da1a1da83cafbec446e7be /libmate-desktop/private.h
parent2ced78e503c3b55f89bc02aab828ed559dd8dec1 (diff)
downloadmate-desktop-8197f71e2a50b9a74b99315bb481274f612b83b3.tar.bz2
mate-desktop-8197f71e2a50b9a74b99315bb481274f612b83b3.tar.xz
Use G_{BEGIN,END}_DECLS instead of #ifdef __cplusplus in header files and make sure to include glib.h for these macros
Diffstat (limited to 'libmate-desktop/private.h')
-rw-r--r--libmate-desktop/private.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libmate-desktop/private.h b/libmate-desktop/private.h
index 616fe28..baa4ba7 100644
--- a/libmate-desktop/private.h
+++ b/libmate-desktop/private.h
@@ -25,14 +25,12 @@
#ifndef __MATE_DESKTOP_PRIVATE_H__
#define __MATE_DESKTOP_PRIVATE_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include <glib.h>
+
+G_BEGIN_DECLS
void _mate_desktop_init_i18n (void);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif