diff options
author | Dan Winship <danw@gnome.org> | 2013-05-20 17:54:48 -0300 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-05-21 11:23:22 -0300 |
commit | 4b94c0831e449374ce769cb4938a28b3dca59a43 (patch) | |
tree | 28f53ec4bc4bd8e224e9747e90f87f9308a119bc /gio/tests/gdbus-non-socket.c | |
parent | 52f6a7d16250d2b180c83cce8929f3e14972e1a9 (diff) | |
download | glib-4b94c0831e449374ce769cb4938a28b3dca59a43.tar.gz glib-4b94c0831e449374ce769cb4938a28b3dca59a43.tar.bz2 glib-4b94c0831e449374ce769cb4938a28b3dca59a43.zip |
Use 'dumb quotes' rather than `really dumb quotes'
Back in the far-off twentieth century, it was normal on unix
workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027
APOSTROPHE to be drawn as "’". This led to the convention of using
them as poor-man's ‛smart quotes’ in ASCII-only text.
However, "'" is now universally drawn as a vertical line, and "`" at a
45-degree angle, making them an `odd couple' when used together.
Unfortunately, there are lots of very old strings in glib, and also
lots of new strings in which people have kept up the old tradition,
perhaps entirely unaware that it used to not look stupid.
Fix this by just using 'dumb quotes' everywhere.
https://bugzilla.gnome.org/show_bug.cgi?id=700746
Diffstat (limited to 'gio/tests/gdbus-non-socket.c')
-rw-r--r-- | gio/tests/gdbus-non-socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/tests/gdbus-non-socket.c b/gio/tests/gdbus-non-socket.c index 43b681bdd..b28d9bde3 100644 --- a/gio/tests/gdbus-non-socket.c +++ b/gio/tests/gdbus-non-socket.c @@ -106,7 +106,7 @@ pokee_method_call (GDBusConnection *connection, g_assert_cmpstr (method_name, ==, "Poke"); g_variant_get (parameters, "(&s)", &str); - ret = g_strdup_printf ("You poked me with: `%s'", str); + ret = g_strdup_printf ("You poked me with: '%s'", str); g_dbus_method_invocation_return_value (invocation, g_variant_new ("(s)", ret)); g_free (ret); } @@ -269,7 +269,7 @@ test_non_socket (void) &error); g_assert_no_error (error); g_variant_get (ret, "(&s)", &str); - g_assert_cmpstr (str, ==, "You poked me with: `I am the POKER!'"); + g_assert_cmpstr (str, ==, "You poked me with: 'I am the POKER!'"); g_variant_unref (ret); g_object_unref (connection); |