From 14a6c9ccd6088184e27a239e7b6a091b0c232e6e Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 25 Jul 2014 17:04:41 +0200 Subject: 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 --- src/eom-debug.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/eom-debug.c') 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) -- cgit v1.2.1