summaryrefslogtreecommitdiffstats
path: root/src/gtk2_in_qt4.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-22 16:09:01 +0100
committerDavid Robillard <d@drobilla.net>2020-12-22 16:10:15 +0100
commite13d629c7bcbacba10dee9ca43435affa1b53478 (patch)
treef43ed88cfed7d5fe0fd4ba0a35a5cdfede341e42 /src/gtk2_in_qt4.cpp
parent1ad76015e4d4d6c8f44833edbfb0dead35560128 (diff)
downloadsuil-e13d629c7bcbacba10dee9ca43435affa1b53478.tar.gz
suil-e13d629c7bcbacba10dee9ca43435affa1b53478.tar.bz2
suil-e13d629c7bcbacba10dee9ca43435affa1b53478.zip
Use "nullptr" in more C++ code
Diffstat (limited to 'src/gtk2_in_qt4.cpp')
-rw-r--r--src/gtk2_in_qt4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk2_in_qt4.cpp b/src/gtk2_in_qt4.cpp
index 3e2e256..c13561e 100644
--- a/src/gtk2_in_qt4.cpp
+++ b/src/gtk2_in_qt4.cpp
@@ -122,9 +122,9 @@ suil_wrapper_new(SuilHost* host,
if (!host->gtk_lib) {
SUIL_ERRORF("Failed to open %s (%s)\n",
SUIL_GTK2_LIB_NAME, dylib_error());
- return NULL;
+ return nullptr;
}
- gtk_init(NULL, NULL);
+ gtk_init(nullptr, nullptr);
}
/* Create wrapper implementation. */