changeset 21796:39e07c9ae0d7

Trap gstreamer error messages with our debug stuff so they don't get spewed to the console
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 06 Dec 2007 15:29:25 +0000
parents 8c16f5900674
children b7e914cd1773 ca3271a66314
files finch/gntdebug.c pidgin/gtkdebug.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntdebug.c	Thu Dec 06 14:11:17 2007 +0000
+++ b/finch/gntdebug.c	Thu Dec 06 15:29:25 2007 +0000
@@ -344,6 +344,9 @@
 	REGISTER_G_LOG_HANDLER("GModule");
 	REGISTER_G_LOG_HANDLER("GLib-GObject");
 	REGISTER_G_LOG_HANDLER("GThread");
+#ifdef USE_GSTREAMER
+	REGISTER_G_LOG_HANDLER("GStreamer");
+#endif
 
 	g_set_print_handler(print_stderr);   /* Redirect the debug messages to stderr */
 	if (!purple_debug_is_enabled())
--- a/pidgin/gtkdebug.c	Thu Dec 06 14:11:17 2007 +0000
+++ b/pidgin/gtkdebug.c	Thu Dec 06 15:29:25 2007 +0000
@@ -985,6 +985,9 @@
 	REGISTER_G_LOG_HANDLER("GModule");
 	REGISTER_G_LOG_HANDLER("GLib-GObject");
 	REGISTER_G_LOG_HANDLER("GThread");
+#ifdef USE_GSTREAMER
+	REGISTER_G_LOG_HANDLER("GStreamer");
+#endif
 
 #ifdef _WIN32
 	if (!purple_debug_is_enabled())