mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Drop translated g_warning/g_error
http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html
This commit is contained in:
parent
597ede957a
commit
e71fdf6b5a
@ -373,8 +373,8 @@ g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
|
||||
{
|
||||
gchar *type_string = g_variant_type_dup_string (type);
|
||||
|
||||
g_warning (_("Type of return value is incorrect, got `%s', expected `%s'"),
|
||||
g_variant_get_type_string (parameters), type_string);
|
||||
g_warning ("Type of return value is incorrect, got `%s', expected `%s'",
|
||||
g_variant_get_type_string (parameters), type_string);
|
||||
g_variant_type_free (type);
|
||||
g_free (type_string);
|
||||
goto out;
|
||||
@ -404,7 +404,7 @@ g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
|
||||
error = NULL;
|
||||
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_object_unref (reply);
|
||||
|
@ -722,8 +722,8 @@ g_dbus_proxy_set_cached_property (GDBusProxy *proxy,
|
||||
{
|
||||
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 "
|
||||
"interface the type is %s"),
|
||||
g_warning ("Trying to set property %s of type %s but according to the expected "
|
||||
"interface the type is %s",
|
||||
property_name,
|
||||
g_variant_get_type_string (value),
|
||||
info->signature);
|
||||
|
Loading…
Reference in New Issue
Block a user