summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-23 19:52:44 +0200
committerinfirit <[email protected]>2015-07-23 19:52:44 +0200
commit9a43f44510c8c84e99812dd7e965b083996c6e5c (patch)
tree6df5437c7f4741d357d1c7b816cecabb872d2b7f /src
parent4b8e9d507796d6c1ff55db1ca892a423a3bfad0a (diff)
downloadmate-notification-daemon-9a43f44510c8c84e99812dd7e965b083996c6e5c.tar.bz2
mate-notification-daemon-9a43f44510c8c84e99812dd7e965b083996c6e5c.tar.xz
Do not use g_assert_nonnull
This was added in Glib 2.40 and we still target 2.36.
Diffstat (limited to 'src')
-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 4477753..5c14aa1 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -184,7 +184,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;
@@ -194,7 +194,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;