# HG changeset patch # User Stu Tomlinson # Date 1181398681 0 # Node ID 492b142fd7390a442d99d991e2b88fac16f99e40 # Parent 44393d3e0c3be07369fcd78868436225cde7cb08 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. diff -r 44393d3e0c3b -r 492b142fd739 libpurple/dbus-server.c --- 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; }