* Removed my own error handler that I use for debugging
authorSergio Villar Senin <svillar@igalia.com>
Fri, 15 Jun 2007 06:43:11 +0000 (06:43 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Fri, 15 Jun 2007 06:43:11 +0000 (06:43 +0000)
pmo-trunk-r2244

src/modest-main.c

index ba4242f..44a3505 100644 (file)
@@ -85,17 +85,6 @@ on_show (GtkWidget *widget, gpointer user_data)
        modest_platform_connect_and_wait(NULL);
 }
 
-static void
-log_default_handler (const gchar *log_domain,
-                    GLogLevelFlags log_level,
-                    const gchar *message,
-                    gpointer unused_data)
-{
-       if (log_level == G_LOG_LEVEL_ERROR || 
-           log_level == G_LOG_LEVEL_CRITICAL)
-               g_print ("EEEEE ------ %s\n", message);
-}
-
 int
 main (int argc, char *argv[])
 {
@@ -139,8 +128,6 @@ main (int argc, char *argv[])
        }
        g_option_context_free (context);
        
-       g_log_set_default_handler (log_default_handler, NULL);
-
        if (!modest_init_init_core ()) {
                g_printerr ("modest: cannot init modest core\n");
                return MODEST_ERR_INIT;