g_value_unset(new_entry);
g_free(new_entry);
*error = ibus_error_new_from_printf(
- DBUS_ERROR_FAILED, "Can not set value [%s->%s]", section, name);
+ "org.freedesktop.DBus.Error.Failed", "Can not set value [%s->%s]", section, name);
}
// Let ibus-daemon know that a new value is set to ibus-memconf. Note that
= memconf->entries->find(key);
if (iter == memconf->entries->end()) {
*error = ibus_error_new_from_printf(
- DBUS_ERROR_FAILED, "Can not get value [%s->%s]", section, name);
+ "org.freedesktop.DBus.Error.Failed", "Can not get value [%s->%s]", section, name);
return FALSE;
}
if (!do_unset(memconf, key)) {
*error = ibus_error_new_from_printf(
- DBUS_ERROR_FAILED, "Can not unset value [%s->%s]", section, name);
+ "org.freedesktop.DBus.Error.Failed", "Can not unset value [%s->%s]", section, name);
return FALSE;
}