summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/Arc.cpp2
-rw-r--r--src/gui/GraphBox.cpp2
-rw-r--r--src/gui/GraphTreeWindow.hpp2
-rw-r--r--src/gui/WindowFactory.cpp2
-rw-r--r--src/gui/WindowFactory.hpp4
5 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/Arc.cpp b/src/gui/Arc.cpp
index db8b3a85..339a1248 100644
--- a/src/gui/Arc.cpp
+++ b/src/gui/Arc.cpp
@@ -34,7 +34,7 @@ Arc::Arc(Ganv::Canvas& canvas,
SPtr<const client::BlockModel> tparent_block;
if ((tparent_block = dynamic_ptr_cast<const client::BlockModel>(tparent))) {
if (tparent_block->plugin_uri() == NS_INTERNALS "BlockDelay") {
- g_object_set(_gobj, "dash-length", 4.0, NULL);
+ g_object_set(_gobj, "dash-length", 4.0, nullptr);
set_constraining(false);
}
}
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index be076f6c..966e8b9c 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -265,7 +265,7 @@ GraphBox::set_graph_from_path(const Raul::Path& path, SPtr<GraphView> view)
/** Sets the graph for this box and initializes everything.
*
- * If `view` is NULL, a new view will be created.
+ * If `view` is null, a new view will be created.
*/
void
GraphBox::set_graph(SPtr<const GraphModel> graph,
diff --git a/src/gui/GraphTreeWindow.hpp b/src/gui/GraphTreeWindow.hpp
index 9ab05f94..0df5d01c 100644
--- a/src/gui/GraphTreeWindow.hpp
+++ b/src/gui/GraphTreeWindow.hpp
@@ -98,7 +98,7 @@ public:
GraphTreeView(BaseObjectType* cobject,
const Glib::RefPtr<Gtk::Builder>& xml)
: Gtk::TreeView(cobject)
- , _window(NULL)
+ , _window(nullptr)
{}
void set_window(GraphTreeWindow* win) { _window = win; }
diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp
index c5f9c089..06c8266a 100644
--- a/src/gui/WindowFactory.cpp
+++ b/src/gui/WindowFactory.cpp
@@ -130,7 +130,7 @@ WindowFactory::parent_graph_window(SPtr<const BlockModel> block)
/** Present a GraphWindow for a Graph.
*
- * If `preferred` is not NULL, it will be set to display `graph` if the graph
+ * If `preferred` is not null, it will be set to display `graph` if the graph
* does not already have a visible window, otherwise that window will be
* presented and `preferred` left unmodified.
*/
diff --git a/src/gui/WindowFactory.hpp b/src/gui/WindowFactory.hpp
index a6ddb682..4e71c7cf 100644
--- a/src/gui/WindowFactory.hpp
+++ b/src/gui/WindowFactory.hpp
@@ -61,7 +61,7 @@ public:
void present_graph(
SPtr<const client::GraphModel> graph,
- GraphWindow* preferred = NULL,
+ GraphWindow* preferred = nullptr,
SPtr<GraphView> view = SPtr<GraphView>());
void present_load_plugin(SPtr<const client::GraphModel> graph, Properties data=Properties());
@@ -71,7 +71,7 @@ public:
void present_rename(SPtr<const client::ObjectModel> object);
void present_properties(SPtr<const client::ObjectModel> object);
- bool remove_graph_window(GraphWindow* win, GdkEventAny* ignored = NULL);
+ bool remove_graph_window(GraphWindow* win, GdkEventAny* ignored = nullptr);
void set_main_box(GraphBox* box) { _main_box = box; }