summaryrefslogtreecommitdiff
path: root/libmenu/canonicalize.h
diff options
context:
space:
mode:
authoryetist <[email protected]>2018-05-02 22:42:02 +0800
committerraveit65 <[email protected]>2018-05-27 13:44:45 +0200
commitb642c7cdb1ff1ff418c62f0169e568a87f4cc4e5 (patch)
treebb4d0b4e55b6b6787bd9587e719918e0c0a5380e /libmenu/canonicalize.h
parent929408351cfb8e3a9373d12c26fb96781297ab5d (diff)
downloadmate-menus-b642c7cdb1ff1ff418c62f0169e568a87f4cc4e5.tar.bz2
mate-menus-b642c7cdb1ff1ff418c62f0169e568a87f4cc4e5.tar.xz
use G_BEGIN/END_DECLS
Diffstat (limited to 'libmenu/canonicalize.h')
-rw-r--r--libmenu/canonicalize.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/libmenu/canonicalize.h b/libmenu/canonicalize.h
index dcc6f6e..bb291cf 100644
--- a/libmenu/canonicalize.h
+++ b/libmenu/canonicalize.h
@@ -20,19 +20,15 @@
* 02110-1301 USA.
*/
-#ifndef G_CANONICALIZE_H
-#define G_CANONICALIZE_H
+#ifndef MATE_CANONICALIZE_H
+#define MATE_CANONICALIZE_H
#include <glib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
char* menu_canonicalize_file_name(const char* name, gboolean allow_missing_basename);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
-#endif /* G_CANONICALIZE_H */
+#endif /* MATE_CANONICALIZE_H */