summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 6bf4af9..ee62468 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -180,7 +180,7 @@ static gboolean do_exit(gpointer user_data)
static void add_exit_timeout(NotifyDaemon* daemon)
{
- g_assert_nonnull(daemon);
+ g_assert (daemon != NULL);
if (daemon->priv->exit_timeout_source > 0)
return;
@@ -190,7 +190,7 @@ static void add_exit_timeout(NotifyDaemon* daemon)
static void remove_exit_timeout(NotifyDaemon* daemon)
{
- g_assert_nonnull(daemon);
+ g_assert (daemon != NULL);
if (daemon->priv->exit_timeout_source == 0)
return;