Drop translated g_warning/g_error
authorColin Walters <walters@verbum.org>
Fri, 29 Apr 2011 14:59:42 +0000 (10:59 -0400)
committerColin Walters <walters@verbum.org>
Mon, 2 May 2011 18:44:25 +0000 (14:44 -0400)
http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html

gio/gdbusmethodinvocation.c
gio/gdbusproxy.c

index 64b7486..048319d 100644 (file)
@@ -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);
index 55eed3c..ac2f944 100644 (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)
             {
-              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);