[glib] Drop translated g_warning/g_error



commit e71fdf6b5a88cc1f47f4cc12bab10c6e8953efae
Author: Colin Walters <walters verbum org>
Date:   Fri Apr 29 10:59:42 2011 -0400

    Drop translated g_warning/g_error
    
    http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html

 gio/gdbusmethodinvocation.c |    6 +++---
 gio/gdbusproxy.c            |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gdbusmethodinvocation.c b/gio/gdbusmethodinvocation.c
index 64b7486..048319d 100644
--- a/gio/gdbusmethodinvocation.c
+++ b/gio/gdbusmethodinvocation.c
@@ -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);
diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c
index 55eed3c..ac2f944 100644
--- a/gio/gdbusproxy.c
+++ b/gio/gdbusproxy.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]