LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 01_no_debug_spamming.patch of Package evolution-indicator (Project GNOME:Ayatana)

diff -Nur -x '*.orig' -x '*~' ubuntu//src/evolution-indicator.c ubuntu.new//src/evolution-indicator.c
--- ubuntu//src/evolution-indicator.c	2010-06-22 15:17:26.421431000 +0200
+++ ubuntu.new//src/evolution-indicator.c	2010-06-22 15:30:01.396114034 +0200
@@ -685,11 +685,19 @@
 	return;
 }
 
+void no_debug_log (const gchar *log_domain, GLogLevelFlags log_level,
+                    const gchar *message, gpointer user_data)
+{
+       return;
+}
+
 int
 e_plugin_lib_enable (EPlugin *ep, int enable)
 {
   is_active = enable;
 
+  g_log_set_default_handler (no_debug_log, NULL);
+
   if (is_active)
   {
     if (notification == NULL)