summaryrefslogtreecommitdiffstats
path: root/ganv/Module.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/Module.hpp')
-rw-r--r--ganv/Module.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ganv/Module.hpp b/ganv/Module.hpp
index 64efa12..f076a70 100644
--- a/ganv/Module.hpp
+++ b/ganv/Module.hpp
@@ -58,7 +58,7 @@ public:
"border-width", 2.0,
"label", name.c_str(),
"draggable", TRUE,
- NULL)))
+ nullptr)))
{}
template<typename P, typename C>
@@ -105,7 +105,7 @@ public:
const_iterator back() const { return iterator(const_cast<GanvModule*>(gobj()), num_ports() - 1); }
void embed(Gtk::Widget* widget) {
- ganv_module_embed(gobj(), widget ? widget->gobj() : NULL);
+ ganv_module_embed(gobj(), widget ? widget->gobj() : nullptr);
}
Port* get_port(guint index) {