summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-17 19:40:31 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-18 12:27:01 +0000
commit7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4 (patch)
treeab4f11dc730c386ce76fcbb9e219b233504955e7 /src/ui
parentRun clang-tidy’s modernize-use-equals-default pass. (diff)
downloadinkscape-7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4.tar.gz
inkscape-7fe91fdccab9e61c4dbc12c1c83d2f06e3f266f4.zip
Run clang-tidy’s modernize-deprecated-headers pass.
This renames most C <*.h> includes into C++ <c*> includes.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/color-item.cpp2
-rw-r--r--src/ui/dialog/document-metadata.h2
-rw-r--r--src/ui/dialog/document-properties.h2
-rw-r--r--src/ui/dialog/filedialogimpl-gtkmm.h2
-rw-r--r--src/ui/dialog/inkscape-preferences.h2
-rw-r--r--src/ui/shape-editor.cpp2
-rw-r--r--src/ui/tool/control-point-selection.h2
-rw-r--r--src/ui/tool/control-point.h2
-rw-r--r--src/ui/tool/manipulator.h2
-rw-r--r--src/ui/tool/multi-path-manipulator.h2
-rw-r--r--src/ui/tool/transform-handle-set.cpp2
-rw-r--r--src/ui/tools/arc-tool.h2
-rw-r--r--src/ui/tools/box3d-tool.h2
-rw-r--r--src/ui/tools/gradient-tool.h2
-rw-r--r--src/ui/tools/measure-tool.h2
-rw-r--r--src/ui/tools/mesh-tool.h2
-rw-r--r--src/ui/tools/rect-tool.h2
-rw-r--r--src/ui/tools/star-tool.h2
-rw-r--r--src/ui/tools/tool-base.h2
-rw-r--r--src/ui/view/view.h2
-rw-r--r--src/ui/widget/color-picker.h2
-rw-r--r--src/ui/widget/page-sizer.h2
-rw-r--r--src/ui/widget/preferences-widget.h2
-rw-r--r--src/ui/widget/selected-style.h2
-rw-r--r--src/ui/widget/style-subject.h2
25 files changed, 25 insertions, 25 deletions
diff --git a/src/ui/dialog/color-item.cpp b/src/ui/dialog/color-item.cpp
index 4ebee6834..61709f791 100644
--- a/src/ui/dialog/color-item.cpp
+++ b/src/ui/dialog/color-item.cpp
@@ -15,7 +15,7 @@
#include "config.h"
#endif
-#include <errno.h>
+#include <cerrno>
#include <gtkmm/label.h>
#include <glibmm/i18n.h>
diff --git a/src/ui/dialog/document-metadata.h b/src/ui/dialog/document-metadata.h
index fd4f76c88..1696bdb15 100644
--- a/src/ui/dialog/document-metadata.h
+++ b/src/ui/dialog/document-metadata.h
@@ -18,7 +18,7 @@
#endif
#include <list>
-#include <stddef.h>
+#include <cstddef>
#include "ui/widget/panel.h"
#include <gtkmm/notebook.h>
#include <gtkmm/grid.h>
diff --git a/src/ui/dialog/document-properties.h b/src/ui/dialog/document-properties.h
index 89c87f5de..3607af441 100644
--- a/src/ui/dialog/document-properties.h
+++ b/src/ui/dialog/document-properties.h
@@ -14,7 +14,7 @@
#ifndef INKSCAPE_UI_DIALOG_DOCUMENT_PREFERENCES_H
#define INKSCAPE_UI_DIALOG_DOCUMENT_PREFERENCES_H
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include <gtkmm/comboboxtext.h>
#include <gtkmm/liststore.h>
diff --git a/src/ui/dialog/filedialogimpl-gtkmm.h b/src/ui/dialog/filedialogimpl-gtkmm.h
index 771b08df7..6c5cb38e5 100644
--- a/src/ui/dialog/filedialogimpl-gtkmm.h
+++ b/src/ui/dialog/filedialogimpl-gtkmm.h
@@ -26,7 +26,7 @@
//General includes
#include <unistd.h>
#include <sys/stat.h>
-#include <errno.h>
+#include <cerrno>
#include "filedialog.h"
diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h
index 7aaef90b4..3a1105b11 100644
--- a/src/ui/dialog/inkscape-preferences.h
+++ b/src/ui/dialog/inkscape-preferences.h
@@ -23,7 +23,7 @@
#include <vector>
#include "ui/widget/preferences-widget.h"
#include "ui/widget/button.h"
-#include <stddef.h>
+#include <cstddef>
#include <gtkmm/colorbutton.h>
#include <gtkmm/comboboxtext.h>
#include <gtkmm/treestore.h>
diff --git a/src/ui/shape-editor.cpp b/src/ui/shape-editor.cpp
index 4c11a8b52..1c61a2dea 100644
--- a/src/ui/shape-editor.cpp
+++ b/src/ui/shape-editor.cpp
@@ -11,7 +11,7 @@
#include <config.h>
#endif
-#include <string.h>
+#include <cstring>
#include <glibmm/i18n.h>
#include "desktop.h"
diff --git a/src/ui/tool/control-point-selection.h b/src/ui/tool/control-point-selection.h
index ca00800c0..192e273e0 100644
--- a/src/ui/tool/control-point-selection.h
+++ b/src/ui/tool/control-point-selection.h
@@ -15,7 +15,7 @@
#include <list>
#include <memory>
#include <boost/optional.hpp>
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include <2geom/forward.h>
#include <2geom/point.h>
diff --git a/src/ui/tool/control-point.h b/src/ui/tool/control-point.h
index 2ff5b7355..9b71522e3 100644
--- a/src/ui/tool/control-point.h
+++ b/src/ui/tool/control-point.h
@@ -12,7 +12,7 @@
#include <gdkmm/pixbuf.h>
#include <boost/utility.hpp>
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/signal.h>
#include <sigc++/trackable.h>
#include <2geom/point.h>
diff --git a/src/ui/tool/manipulator.h b/src/ui/tool/manipulator.h
index 25862a039..0e6c1ae4e 100644
--- a/src/ui/tool/manipulator.h
+++ b/src/ui/tool/manipulator.h
@@ -13,7 +13,7 @@
#include <set>
#include <map>
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include <glib.h>
#include <gdk/gdk.h>
diff --git a/src/ui/tool/multi-path-manipulator.h b/src/ui/tool/multi-path-manipulator.h
index 46f0d17ba..3e5667591 100644
--- a/src/ui/tool/multi-path-manipulator.h
+++ b/src/ui/tool/multi-path-manipulator.h
@@ -11,7 +11,7 @@
#ifndef SEEN_UI_TOOL_MULTI_PATH_MANIPULATOR_H
#define SEEN_UI_TOOL_MULTI_PATH_MANIPULATOR_H
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/connection.h>
#include "node.h"
#include "commit-events.h"
diff --git a/src/ui/tool/transform-handle-set.cpp b/src/ui/tool/transform-handle-set.cpp
index 56c34b4d9..de91e10e4 100644
--- a/src/ui/tool/transform-handle-set.cpp
+++ b/src/ui/tool/transform-handle-set.cpp
@@ -9,7 +9,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <math.h>
+#include <cmath>
#include <algorithm>
#include <glib/gi18n.h>
diff --git a/src/ui/tools/arc-tool.h b/src/ui/tools/arc-tool.h
index 7232f07af..2cb2768eb 100644
--- a/src/ui/tools/arc-tool.h
+++ b/src/ui/tools/arc-tool.h
@@ -15,7 +15,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <stddef.h>
+#include <cstddef>
#include <2geom/point.h>
#include <sigc++/connection.h>
diff --git a/src/ui/tools/box3d-tool.h b/src/ui/tools/box3d-tool.h
index cbd7dbe08..513d6d25f 100644
--- a/src/ui/tools/box3d-tool.h
+++ b/src/ui/tools/box3d-tool.h
@@ -15,7 +15,7 @@
* Released under GNU GPL
*/
-#include <stddef.h>
+#include <cstddef>
#include <2geom/point.h>
#include <sigc++/connection.h>
diff --git a/src/ui/tools/gradient-tool.h b/src/ui/tools/gradient-tool.h
index 3b7a646e7..6421e75ad 100644
--- a/src/ui/tools/gradient-tool.h
+++ b/src/ui/tools/gradient-tool.h
@@ -15,7 +15,7 @@
* Released under GNU GPL
*/
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include "ui/tools/tool-base.h"
diff --git a/src/ui/tools/measure-tool.h b/src/ui/tools/measure-tool.h
index e50caa434..f87ac2c81 100644
--- a/src/ui/tools/measure-tool.h
+++ b/src/ui/tools/measure-tool.h
@@ -16,7 +16,7 @@
# include <config.h>
#endif
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include "ui/tools/tool-base.h"
#include <2geom/point.h>
diff --git a/src/ui/tools/mesh-tool.h b/src/ui/tools/mesh-tool.h
index 59c60dad4..df3389b9b 100644
--- a/src/ui/tools/mesh-tool.h
+++ b/src/ui/tools/mesh-tool.h
@@ -17,7 +17,7 @@
* Released under GNU GPL
*/
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include "ui/tools/tool-base.h"
diff --git a/src/ui/tools/rect-tool.h b/src/ui/tools/rect-tool.h
index 4036bf35b..02760c757 100644
--- a/src/ui/tools/rect-tool.h
+++ b/src/ui/tools/rect-tool.h
@@ -15,7 +15,7 @@
* Released under GNU GPL
*/
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include <2geom/point.h>
#include "ui/tools/tool-base.h"
diff --git a/src/ui/tools/star-tool.h b/src/ui/tools/star-tool.h
index 2e973fad5..6d448bf7f 100644
--- a/src/ui/tools/star-tool.h
+++ b/src/ui/tools/star-tool.h
@@ -14,7 +14,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include <2geom/point.h>
#include "ui/tools/tool-base.h"
diff --git a/src/ui/tools/tool-base.h b/src/ui/tools/tool-base.h
index 1696c6453..2d743ec67 100644
--- a/src/ui/tools/tool-base.h
+++ b/src/ui/tools/tool-base.h
@@ -12,7 +12,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <stddef.h>
+#include <cstddef>
#include <string>
#include "knot.h"
#include "knotholder.h"
diff --git a/src/ui/view/view.h b/src/ui/view/view.h
index 200b52e7a..532bf36a8 100644
--- a/src/ui/view/view.h
+++ b/src/ui/view/view.h
@@ -12,7 +12,7 @@
*/
#include <gdk/gdk.h>
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/connection.h>
#include "message.h"
#include "inkgc/gc-managed.h"
diff --git a/src/ui/widget/color-picker.h b/src/ui/widget/color-picker.h
index c80571df0..325ba7d13 100644
--- a/src/ui/widget/color-picker.h
+++ b/src/ui/widget/color-picker.h
@@ -15,7 +15,7 @@
#include "labelled.h"
-#include <stddef.h>
+#include <cstddef>
#include <gtkmm/dialog.h>
#include <gtkmm/button.h>
diff --git a/src/ui/widget/page-sizer.h b/src/ui/widget/page-sizer.h
index edc9f5b0c..d64034b8c 100644
--- a/src/ui/widget/page-sizer.h
+++ b/src/ui/widget/page-sizer.h
@@ -14,7 +14,7 @@
# include <config.h>
#endif
-#include <stddef.h>
+#include <cstddef>
#include "ui/widget/registered-widget.h"
#include <sigc++/sigc++.h>
diff --git a/src/ui/widget/preferences-widget.h b/src/ui/widget/preferences-widget.h
index acd59fe94..8e1602ff9 100644
--- a/src/ui/widget/preferences-widget.h
+++ b/src/ui/widget/preferences-widget.h
@@ -24,7 +24,7 @@
#include <gtkmm/filechooserbutton.h>
#include "ui/widget/spinbutton.h"
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/radiobutton.h>
diff --git a/src/ui/widget/selected-style.h b/src/ui/widget/selected-style.h
index 6f1841928..1437624fa 100644
--- a/src/ui/widget/selected-style.h
+++ b/src/ui/widget/selected-style.h
@@ -28,7 +28,7 @@
#include <gtkmm/radiomenuitem.h>
#include "ui/widget/spinbutton.h"
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include "rotateable.h"
diff --git a/src/ui/widget/style-subject.h b/src/ui/widget/style-subject.h
index 398aab065..3a3010f46 100644
--- a/src/ui/widget/style-subject.h
+++ b/src/ui/widget/style-subject.h
@@ -12,7 +12,7 @@
#include <boost/optional.hpp>
#include <2geom/rect.h>
-#include <stddef.h>
+#include <cstddef>
#include <sigc++/sigc++.h>
#include "object/sp-item.h"