dbus/glib dbus-gobject.c,1.47,1.48
Colin Walters
walters at freedesktop.org
Tue Aug 16 14:26:14 PDT 2005
Update of /cvs/dbus/dbus/glib
In directory gabe:/tmp/cvs-serv32474/glib
Modified Files:
dbus-gobject.c
Log Message:
2005-08-16 Colin Walters <walters at verbum.org>
* glib/dbus-gobject.c (dbus_set_g_error): Don't lose if the
DBusError message is NULL.
Index: dbus-gobject.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gobject.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- dbus-gobject.c 4 Aug 2005 15:49:30 -0000 1.47
+++ dbus-gobject.c 16 Aug 2005 21:26:12 -0000 1.48
@@ -1494,7 +1494,7 @@
g_set_error (gerror, DBUS_GERROR,
code,
"%s%c%s",
- error->message,
+ error->message ? error->message : "",
'\0',
error->name);
}
More information about the dbus-commit
mailing list