diff options
author | infirit <[email protected]> | 2015-07-23 19:52:44 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-23 19:53:42 +0200 |
commit | 207f23b178ce42759217456dff70248ac700c4ed (patch) | |
tree | c7305faa87da29a25a78545e8d6e1fd8f77a9b18 /src/daemon/daemon.c | |
parent | 63ff194a7d9236ecf4ff71a8f2f19fc4872aade7 (diff) | |
download | mate-notification-daemon-207f23b178ce42759217456dff70248ac700c4ed.tar.bz2 mate-notification-daemon-207f23b178ce42759217456dff70248ac700c4ed.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/daemon/daemon.c')
-rw-r--r-- | src/daemon/daemon.c | 4 |
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; |