summaryrefslogtreecommitdiff
path: root/clients/tui/nmt-editor-section.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-17 18:19:00 +0200
committerThomas Haller <thaller@redhat.com>2016-08-17 19:51:17 +0200
commit0bdcab100ca5fd86ec8ab0f9ccc3645b47835437 (patch)
tree50865418973a9ad98def8a7d3e2528e0c9ff98f3 /clients/tui/nmt-editor-section.h
parent40d5749ec1c9d9aed746115dcf50d9bf1fbad131 (diff)
downloadNetworkManager-0bdcab100ca5fd86ec8ab0f9ccc3645b47835437.tar.gz
all: cleanup includes in header files
- don't include "nm-default.h" in header files. Every source file must include as first header "nm-default.h", thus our headers get the default include already implicitly. - we don't support compiling NetworkManager itself with a C++ compiler. Remove G_BEGIN_DECLS/G_END_DECLS from internal headers. We do however support users of libnm to use C++, thus they stay in public headers. (cherry picked from commit f19aff89095ca192b8b2e37534b7a899aecd82f9)
Diffstat (limited to 'clients/tui/nmt-editor-section.h')
-rw-r--r--clients/tui/nmt-editor-section.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/clients/tui/nmt-editor-section.h b/clients/tui/nmt-editor-section.h
index 67410c7174..3c2537be04 100644
--- a/clients/tui/nmt-editor-section.h
+++ b/clients/tui/nmt-editor-section.h
@@ -22,8 +22,6 @@
#include "nmt-newt-section.h"
#include "nmt-editor-grid.h"
-G_BEGIN_DECLS
-
#define NMT_TYPE_EDITOR_SECTION (nmt_editor_section_get_type ())
#define NMT_EDITOR_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NMT_TYPE_EDITOR_SECTION, NmtEditorSection))
#define NMT_EDITOR_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NMT_TYPE_EDITOR_SECTION, NmtEditorSectionClass))
@@ -51,6 +49,4 @@ const char *nmt_editor_section_get_title (NmtEditorSection *sectio
NmtNewtWidget *nmt_editor_section_get_header_widget (NmtEditorSection *section);
NmtEditorGrid *nmt_editor_section_get_body (NmtEditorSection *section);
-G_END_DECLS
-
#endif /* NMT_EDITOR_SECTION_H */