[eog] Rename EogDebugSection to EogDebug
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Rename EogDebugSection to EogDebug
- Date: Sat, 18 Dec 2010 13:20:51 +0000 (UTC)
commit 5f66a42b0f445b181b4612474af43b7304104684
Author: Claudio Saavedra <csaavedra igalia com>
Date: Mon Aug 9 00:48:08 2010 +0300
Rename EogDebugSection to EogDebug
Also rename EOG_NO_DEBUG to EOG_DEBUG_NO_DEBUG for clarity
in bindings.
https://bugzilla.gnome.org/show_bug.cgi?id=626257
src/eog-debug.c | 10 +++++-----
src/eog-debug.h | 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/eog-debug.c b/src/eog-debug.c
index 20143df..f01ed52 100644
--- a/src/eog-debug.c
+++ b/src/eog-debug.c
@@ -40,7 +40,7 @@ static GTimer *timer = NULL;
static gdouble last = 0.0;
#endif
-static EogDebugSection debug = EOG_NO_DEBUG;
+static EogDebug debug = EOG_DEBUG_NO_DEBUG;
void
eog_debug_init (void)
@@ -48,7 +48,7 @@ eog_debug_init (void)
if (g_getenv ("EOG_DEBUG") != NULL)
{
/* Enable all debugging */
- debug = ~EOG_NO_DEBUG;
+ debug = ~EOG_DEBUG_NO_DEBUG;
goto out;
}
@@ -91,14 +91,14 @@ eog_debug_init (void)
out:
#ifdef ENABLE_PROFILING
- if (debug != EOG_NO_DEBUG)
+ if (debug != EOG_DEBUG_NO_DEBUG)
timer = g_timer_new ();
#endif
return;
}
void
-eog_debug_message (EogDebugSection section,
+eog_debug_message (EogDebug section,
const gchar *file,
gint line,
const gchar *function,
@@ -136,7 +136,7 @@ eog_debug_message (EogDebugSection section,
}
}
-void eog_debug (EogDebugSection section,
+void eog_debug (EogDebug section,
const gchar *file,
gint line,
const gchar *function)
diff --git a/src/eog-debug.h b/src/eog-debug.h
index 688184d..1d06480 100644
--- a/src/eog-debug.h
+++ b/src/eog-debug.h
@@ -31,7 +31,7 @@
#include <glib.h>
typedef enum {
- EOG_NO_DEBUG = 0,
+ EOG_DEBUG_NO_DEBUG = 0,
EOG_DEBUG_WINDOW = 1 << 0,
EOG_DEBUG_VIEW = 1 << 1,
EOG_DEBUG_JOBS = 1 << 2,
@@ -44,7 +44,7 @@ typedef enum {
EOG_DEBUG_PRINTING = 1 << 9,
EOG_DEBUG_LCMS = 1 << 10,
EOG_DEBUG_PLUGINS = 1 << 11
-} EogDebugSection;
+} EogDebug;
#define DEBUG_WINDOW EOG_DEBUG_WINDOW, __FILE__, __LINE__, G_STRFUNC
#define DEBUG_VIEW EOG_DEBUG_VIEW, __FILE__, __LINE__, G_STRFUNC
@@ -61,12 +61,12 @@ typedef enum {
void eog_debug_init (void);
-void eog_debug (EogDebugSection section,
+void eog_debug (EogDebug section,
const gchar *file,
gint line,
const gchar *function);
-void eog_debug_message (EogDebugSection section,
+void eog_debug_message (EogDebug section,
const gchar *file,
gint line,
const gchar *function,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]