summaryrefslogtreecommitdiff
path: root/src/eom-debug.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-25 17:04:41 +0200
committerinfirit <[email protected]>2014-07-25 22:45:27 +0200
commit14a6c9ccd6088184e27a239e7b6a091b0c232e6e (patch)
treea47e88ba390771f857a7b7e0fa467a7279f18104 /src/eom-debug.c
parentce0c44174000d1a38ae79b2c04f73dd250451d14 (diff)
downloadeom-14a6c9ccd6088184e27a239e7b6a091b0c232e6e.tar.bz2
eom-14a6c9ccd6088184e27a239e7b6a091b0c232e6e.tar.xz
Rename EogDebugSection to EogDebug
Also rename EOG_NO_DEBUG to EOG_DEBUG_NO_DEBUG for clarity in bindings. Based on eog commit 5f66a42b0f445b181b4612474af43b7304104684 From Claudio Saavedra <[email protected]>
Diffstat (limited to 'src/eom-debug.c')
-rw-r--r--src/eom-debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/eom-debug.c b/src/eom-debug.c
index 7ac4f74..0523909 100644
--- a/src/eom-debug.c
+++ b/src/eom-debug.c
@@ -40,7 +40,7 @@ static GTimer *timer = NULL;
static gdouble last = 0.0;
#endif
-static EomDebugSection debug = EOM_NO_DEBUG;
+static EomDebug debug = EOM_DEBUG_NO_DEBUG;
void
eom_debug_init (void)
@@ -48,7 +48,7 @@ eom_debug_init (void)
if (g_getenv ("EOM_DEBUG") != NULL)
{
/* Enable all debugging */
- debug = ~EOM_NO_DEBUG;
+ debug = ~EOM_DEBUG_NO_DEBUG;
goto out;
}
@@ -91,14 +91,14 @@ eom_debug_init (void)
out:
#ifdef ENABLE_PROFILING
- if (debug != EOM_NO_DEBUG)
+ if (debug != EOM_DEBUG_NO_DEBUG)
timer = g_timer_new ();
#endif
return;
}
void
-eom_debug_message (EomDebugSection section,
+eom_debug_message (EomDebug section,
const gchar *file,
gint line,
const gchar *function,
@@ -136,7 +136,7 @@ eom_debug_message (EomDebugSection section,
}
}
-void eom_debug (EomDebugSection section,
+void eom_debug (EomDebug section,
const gchar *file,
gint line,
const gchar *function)