From e13d629c7bcbacba10dee9ca43435affa1b53478 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 22 Dec 2020 16:09:01 +0100 Subject: Use "nullptr" in more C++ code --- src/gtk2_in_qt4.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gtk2_in_qt4.cpp') 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. */ -- cgit v1.2.1