BUG=http://code.google.com/p/ibus/issues/detail?id=1638
TEST=bus/ibusimpl.c
Review URL: https://codereview.appspot.com/
11471044
Patch from Osamu Aoki <osamu@debian.org>.
if (variant == NULL) {
g_dbus_method_invocation_return_error (
invocation, G_DBUS_ERROR, G_DBUS_ERROR_FAILED,
- error->message);
+ "%s", error->message);
g_error_free (error);
} else {
const gchar *path = g_variant_get_string (variant, NULL);
g_dbus_method_invocation_return_error (
invocation,
G_DBUS_ERROR, G_DBUS_ERROR_FAILED,
- error->message);
+ "%s", error->message);
g_error_free (error);
} else {
GVariant *retval = g_variant_get_variant (variant);