[tracker/wip/carlosg/domain-ontologies: 39/124] libtracker-common: Remove libmediaart log handler



commit 74591994f9f2a214c7bb27a9cfd15d1f6337470b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jun 4 19:43:00 2017 +0200

    libtracker-common: Remove libmediaart log handler
    
    libmediaart was split from tracker ages ago.

 src/libtracker-common/tracker-log.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/libtracker-common/tracker-log.c b/src/libtracker-common/tracker-log.c
index c6b8e12..d300ee7 100644
--- a/src/libtracker-common/tracker-log.c
+++ b/src/libtracker-common/tracker-log.c
@@ -38,7 +38,6 @@ static gboolean  initialized;
 static FILE     *fd;
 static gint      verbosity;
 static guint     log_handler_id;
-static guint     libmediaart_log_handler_id;
 static gboolean  use_log_files;
 static GMutex    mutex;
 
@@ -268,11 +267,6 @@ tracker_log_init (gint    this_verbosity,
                                                    hide_levels,
                                                    hide_log_handler,
                                                    NULL);
-
-               libmediaart_log_handler_id = g_log_set_handler ("libmediaart",
-                                                               hide_levels,
-                                                               hide_log_handler,
-                                                               NULL);
        }
 
        /* Set log handler function for the rest */
@@ -303,11 +297,6 @@ tracker_log_shutdown (void)
                log_handler_id = 0;
        }
 
-       if (libmediaart_log_handler_id) {
-               g_log_remove_handler ("libmediaart", libmediaart_log_handler_id);
-               libmediaart_log_handler_id = 0;
-       }
-
        if (use_log_files && fd != NULL) {
                fclose (fd);
        }


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