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
This commit is contained in:
Dan Winship
2013-05-20 17:54:48 -03:00
parent 52f6a7d162
commit 4b94c0831e
57 changed files with 488 additions and 488 deletions

View File

@@ -164,7 +164,7 @@ _g_module_symbol (gpointer handle,
if (strcmp (name, "_end") == 0)
{
msg = g_strdup_printf ("unmatched symbol name `%s'", symbol_name);
msg = g_strdup_printf ("unmatched symbol name '%s'", symbol_name);
g_module_set_error (msg);
g_free (msg);

View File

@@ -84,7 +84,7 @@ _g_module_open (const gchar *file_name,
g_free (wfilename);
if (!handle)
set_error ("`%s': ", file_name);
set_error ("'%s': ", file_name);
return handle;
}

View File

@@ -852,7 +852,7 @@ g_module_symbol (GModule *module,
{
gchar *error;
error = g_strconcat ("`", symbol_name, "': ", module_error, NULL);
error = g_strconcat ("'", symbol_name, "': ", module_error, NULL);
g_module_set_error (error);
g_free (error);
*symbol = NULL;

View File

@@ -56,7 +56,7 @@ typedef void (*GModuleUnload) (GModule *module);
GLIB_AVAILABLE_IN_ALL
gboolean g_module_supported (void) G_GNUC_CONST;
/* open a module `file_name' and return handle, which is NULL on error */
/* open a module 'file_name' and return handle, which is NULL on error */
GLIB_AVAILABLE_IN_ALL
GModule* g_module_open (const gchar *file_name,
GModuleFlags flags);
@@ -73,7 +73,7 @@ void g_module_make_resident (GModule *module);
GLIB_AVAILABLE_IN_ALL
const gchar * g_module_error (void);
/* retrieve a symbol pointer from `module', returns TRUE on success */
/* retrieve a symbol pointer from 'module', returns TRUE on success */
GLIB_AVAILABLE_IN_ALL
gboolean g_module_symbol (GModule *module,
const gchar *symbol_name,
@@ -83,13 +83,13 @@ gboolean g_module_symbol (GModule *module,
GLIB_AVAILABLE_IN_ALL
const gchar * g_module_name (GModule *module);
/* Build the actual file name containing a module. `directory' is the
/* Build the actual file name containing a module. 'directory' is the
* directory where the module file is supposed to be, or NULL or empty
* in which case it should either be in the current directory or, on
* some operating systems, in some standard place, for instance on the
* PATH. Hence, to be absoultely sure to get the correct module,
* always pass in a directory. The file name consists of the directory,
* if supplied, and `module_name' suitably decorated according to
* if supplied, and 'module_name' suitably decorated according to
* the operating system's conventions (for instance lib*.so or *.dll).
*
* No checks are made that the file exists, or is of correct type.