Drop translated g_warning/g_error

http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html
This commit is contained in:
Colin Walters 2011-04-29 10:59:42 -04:00
parent 597ede957a
commit e71fdf6b5a
2 changed files with 5 additions and 5 deletions

View File

@ -373,7 +373,7 @@ g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
{ {
gchar *type_string = g_variant_type_dup_string (type); gchar *type_string = g_variant_type_dup_string (type);
g_warning (_("Type of return value is incorrect, got `%s', expected `%s'"), g_warning ("Type of return value is incorrect, got `%s', expected `%s'",
g_variant_get_type_string (parameters), type_string); g_variant_get_type_string (parameters), type_string);
g_variant_type_free (type); g_variant_type_free (type);
g_free (type_string); g_free (type_string);
@ -404,7 +404,7 @@ g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
error = NULL; error = NULL;
if (!g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), reply, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, &error)) if (!g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), reply, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, &error))
{ {
g_warning (_("Error sending message: %s"), error->message); g_warning ("Error sending message: %s", error->message);
g_error_free (error); g_error_free (error);
} }
g_object_unref (reply); g_object_unref (reply);

View File

@ -722,8 +722,8 @@ g_dbus_proxy_set_cached_property (GDBusProxy *proxy,
{ {
if (g_strcmp0 (info->signature, g_variant_get_type_string (value)) != 0) if (g_strcmp0 (info->signature, g_variant_get_type_string (value)) != 0)
{ {
g_warning (_("Trying to set property %s of type %s but according to the expected " g_warning ("Trying to set property %s of type %s but according to the expected "
"interface the type is %s"), "interface the type is %s",
property_name, property_name,
g_variant_get_type_string (value), g_variant_get_type_string (value),
info->signature); info->signature);