[rhythmbox/gobject-introspection: 17/41] don't try to make rb_debug_real appear as RB.debug



commit af3c38e94e13045ae3f0b0d916caaf769010a638
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon Nov 29 10:59:54 2010 +1000

    don't try to make rb_debug_real appear as RB.debug

 lib/rb-debug.c         |    2 --
 plugins/rb/__init__.py |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/lib/rb-debug.c b/lib/rb-debug.c
index 80360e3..44d54ae 100644
--- a/lib/rb-debug.c
+++ b/lib/rb-debug.c
@@ -113,8 +113,6 @@ _rb_debug_print (const char *func, const char *file, const int line, gboolean ne
  *
  * If the debug output settings match the function or file names,
  * the debug message will be formatted and written to standard error.
- *
- * Rename to: debug
  */
 void
 rb_debug_real (const char *func, const char *file, const int line, gboolean newline, const char *message)
diff --git a/plugins/rb/__init__.py b/plugins/rb/__init__.py
index 411c8e6..92893f0 100644
--- a/plugins/rb/__init__.py
+++ b/plugins/rb/__init__.py
@@ -86,7 +86,7 @@ class _rbdebugfile:
 			methodname = '%s.%s' % (fr.f_locals['self'].__class__.__name__, methodname)
 
 		ln = co.co_firstlineno + fr.f_lineno
-		RB.debug (methodname, filename, ln, True, str(data))
+		RB.debug_real (methodname, filename, ln, True, str(data))
 
 	def close(self):         pass
 	def flush(self):         pass



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]