[gnome-calendar] log: accept NULL log domains



commit 999160495d1647b192c45f88d32953b7e8f94e32
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 6 20:29:46 2017 -0300

    log: accept NULL log domains

 src/gcal-log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-log.c b/src/gcal-log.c
index cbeda6f..0c1c413 100644
--- a/src/gcal-log.c
+++ b/src/gcal-log.c
@@ -64,7 +64,7 @@ gcal_log_handler (const gchar    *domain,
   gchar *buffer;
 
   /* Skip ignored log domains */
-  if (g_strv_contains (ignored_domains, domain))
+  if (domain && g_strv_contains (ignored_domains, domain))
     return;
 
   level = log_level_str (log_level);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]