summaryrefslogtreecommitdiff
path: root/libdocument/ev-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-debug.c')
-rw-r--r--libdocument/ev-debug.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libdocument/ev-debug.c b/libdocument/ev-debug.c
index 4c3554ac..1d8adb7d 100644
--- a/libdocument/ev-debug.c
+++ b/libdocument/ev-debug.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
- * Copyright (C) 2002 - 2005 Paolo Maggi
+ * Copyright (C) 2002 - 2005 Paolo Maggi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -21,10 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
-
+
/*
- * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
- * list of people on the gedit Team.
+ * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
+ * list of people on the gedit Team.
* See the ChangeLog files for a list of changes.
*
* $Id: gedit-debug.c 4809 2006-04-08 14:46:31Z pborelli $
@@ -106,13 +106,13 @@ ev_debug_message (EvDebugSection section,
if (format) {
va_list args;
-
+
va_start (args, format);
msg = g_strdup_vprintf (format, args);
va_end (args);
}
- g_print ("%s:%d (%s) %s\n", file, line, function, msg ? msg : "");
+ g_print ("%s:%d (%s) %s\n", file, line, function, msg ? msg : "");
fflush (stdout);
@@ -162,11 +162,11 @@ ev_profiler_stop (EvProfileSection section,
va_start (args, format);
name = g_strdup_vprintf (format, args);
va_end (args);
-
+
timer = g_hash_table_lookup (timers, name);
if (!timer)
return;
-
+
g_timer_stop (timer);
seconds = g_timer_elapsed (timer, NULL);
g_print ("[ %s ] %f s elapsed\n", name, seconds);