File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 * 02110-1301 USA.
2121 */
2222
23- #ifndef G_CANONICALIZE_H
24- #define G_CANONICALIZE_H
23+ #ifndef MATE_CANONICALIZE_H
24+ #define MATE_CANONICALIZE_H
2525
2626#include <glib.h>
2727
28- #ifdef __cplusplus
29- extern "C" {
30- #endif
28+ G_BEGIN_DECLS
3129
3230char * menu_canonicalize_file_name (const char * name , gboolean allow_missing_basename );
3331
34- #ifdef __cplusplus
35- }
36- #endif
32+ G_END_DECLS
3733
38- #endif /* G_CANONICALIZE_H */
34+ #endif /* MATE_CANONICALIZE_H */
Original file line number Diff line number Diff line change 2323#include <glib.h>
2424#include "desktop-entries.h"
2525
26- #ifdef __cplusplus
27- extern "C" {
28- #endif
26+ G_BEGIN_DECLS
2927
3028typedef struct EntryDirectory EntryDirectory ;
3129
@@ -60,8 +58,6 @@ DesktopEntry* entry_directory_list_get_directory (EntryDirectoryList* list, cons
6058DesktopEntrySet * _entry_directory_list_get_all_desktops (EntryDirectoryList * list );
6159void _entry_directory_list_empty_desktop_cache (void );
6260
63- #ifdef __cplusplus
64- }
65- #endif
61+ G_END_DECLS
6662
6763#endif /* __ENTRY_DIRECTORIES_H__ */
Original file line number Diff line number Diff line change 2626
2727#include "entry-directories.h"
2828
29- #ifdef __cplusplus
30- extern "C" {
31- #endif
29+ G_BEGIN_DECLS
3230
3331typedef struct MenuLayoutNode MenuLayoutNode ;
3432
@@ -154,8 +152,6 @@ typedef void (*MenuLayoutNodeEntriesChangedFunc) (MenuLayoutNode* node, gpointer
154152void menu_layout_node_root_add_entries_monitor (MenuLayoutNode * node , MenuLayoutNodeEntriesChangedFunc callback , gpointer user_data );
155153void menu_layout_node_root_remove_entries_monitor (MenuLayoutNode * node , MenuLayoutNodeEntriesChangedFunc callback , gpointer user_data );
156154
157- #ifdef __cplusplus
158- }
159- #endif
155+ G_END_DECLS
160156
161157#endif /* __MENU_LAYOUT_H__ */
Original file line number Diff line number Diff line change 2323
2424#include <glib.h>
2525
26- #ifdef __cplusplus
27- extern "C" {
28- #endif
26+ G_BEGIN_DECLS
2927
3028typedef struct MenuMonitor MenuMonitor ;
3129
@@ -63,8 +61,6 @@ void menu_monitor_remove_notify(MenuMonitor* monitor, MenuMonitorNotifyFunc noti
6361#define mate_menu_monitor_notify_ref menu_monitor_notify_ref /* private */
6462#define mate_menu_monitor_notify_unref menu_monitor_notify_unref /* private */
6563
66- #ifdef __cplusplus
67- }
68- #endif
64+ G_END_DECLS
6965
7066#endif /* __MENU_MONITOR_H__ */
Original file line number Diff line number Diff line change 2626
2727#include "menu-layout.h"
2828
29- #ifdef __cplusplus
30- extern "C" {
31- #endif
32-
29+ G_BEGIN_DECLS
3330
3431
3532#ifdef G_ENABLE_DEBUG
@@ -52,8 +49,6 @@ extern "C" {
5249
5350#endif /* G_ENABLE_DEBUG */
5451
55- #ifdef __cplusplus
56- }
57- #endif
52+ G_END_DECLS
5853
5954#endif /* __MENU_UTIL_H__ */
You can’t perform that action at this time.
0 commit comments