changeset 17802:492b142fd739

Don't use g_return_val_if_reached() for objects not registered with dbus. We already have a purple_debug_warning here, and the confusion created by the g_log that comes from g_return_* makes far too many people think that there is some problem with dbus because it's often the last or only thing output before a crash, which most of the time is totally unrelated.
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 09 Jun 2007 14:18:01 +0000
parents 44393d3e0c3b
children d5fa6c45045e
files libpurple/dbus-server.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/dbus-server.c	Sat Jun 09 14:11:39 2007 +0000
+++ b/libpurple/dbus-server.c	Sat Jun 09 14:18:01 2007 +0000
@@ -115,7 +115,7 @@
 	{
 		purple_debug_warning("dbus",
 				"Need to register an object with the dbus subsystem.\n");
-		g_return_val_if_reached(0);
+		return 0;
 	}
 	return id;
 }