aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions-live.cpp2
-rw-r--r--src/menu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/actions-live.cpp b/src/actions-live.cpp
index c0fd8ff..32d41ad 100644
--- a/src/actions-live.cpp
+++ b/src/actions-live.cpp
@@ -160,7 +160,7 @@ on_datetime1_proxy_ready (GObject * object G_GNUC_UNUSED,
GError * err = nullptr;
auto proxy = g_dbus_proxy_new_for_bus_finish(res, &err);
- if (err != NULL)
+ if (err != nullptr)
{
if (!g_error_matches(err, G_IO_ERROR, G_IO_ERROR_CANCELLED))
g_warning("Could not grab DBus proxy for timedated: %s", err->message);
diff --git a/src/menu.cpp b/src/menu.cpp
index 91f7dd2..b3dcc53 100644
--- a/src/menu.cpp
+++ b/src/menu.cpp
@@ -270,7 +270,7 @@ private:
// add calendar
if (show_calendar)
{
- item = g_menu_item_new ("[calendar]", NULL);
+ item = g_menu_item_new ("[calendar]", nullptr);
v = g_variant_new_int64(0);
g_menu_item_set_action_and_target_value (item, "indicator.calendar", v);
g_menu_item_set_attribute (item, "x-canonical-type",