mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 12:53:07 +02:00
gmodule: Use Unicode quotation marks in error messages
This makes them a little nicer to read. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
9b02e58e88
commit
06be6ac8fc
@ -364,7 +364,7 @@ parse_libtool_archive (const gchar* libtool_name)
|
|||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
gchar *display_libtool_name = g_filename_display_name (libtool_name);
|
gchar *display_libtool_name = g_filename_display_name (libtool_name);
|
||||||
g_module_set_error_unduped (g_strdup_printf ("failed to open libtool archive \"%s\"", display_libtool_name));
|
g_module_set_error_unduped (g_strdup_printf ("failed to open libtool archive ‘%s’", display_libtool_name));
|
||||||
g_free (display_libtool_name);
|
g_free (display_libtool_name);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@ -390,7 +390,7 @@ parse_libtool_archive (const gchar* libtool_name)
|
|||||||
G_TOKEN_IDENTIFIER : G_TOKEN_STRING))
|
G_TOKEN_IDENTIFIER : G_TOKEN_STRING))
|
||||||
{
|
{
|
||||||
gchar *display_libtool_name = g_filename_display_name (libtool_name);
|
gchar *display_libtool_name = g_filename_display_name (libtool_name);
|
||||||
g_module_set_error_unduped (g_strdup_printf ("unable to parse libtool archive \"%s\"", display_libtool_name));
|
g_module_set_error_unduped (g_strdup_printf ("unable to parse libtool archive ‘%s’", display_libtool_name));
|
||||||
g_free (display_libtool_name);
|
g_free (display_libtool_name);
|
||||||
|
|
||||||
g_free (lt_dlname);
|
g_free (lt_dlname);
|
||||||
@ -433,7 +433,7 @@ parse_libtool_archive (const gchar* libtool_name)
|
|||||||
if (lt_libdir == NULL || lt_dlname == NULL)
|
if (lt_libdir == NULL || lt_dlname == NULL)
|
||||||
{
|
{
|
||||||
gchar *display_libtool_name = g_filename_display_name (libtool_name);
|
gchar *display_libtool_name = g_filename_display_name (libtool_name);
|
||||||
g_module_set_error_unduped (g_strdup_printf ("unable to parse libtool archive \"%s\"", display_libtool_name));
|
g_module_set_error_unduped (g_strdup_printf ("unable to parse libtool archive ‘%s’", display_libtool_name));
|
||||||
g_free (display_libtool_name);
|
g_free (display_libtool_name);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user