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:
Philip Withnall 2022-07-06 13:33:46 +01:00
parent 9b02e58e88
commit 06be6ac8fc

View File

@ -364,7 +364,7 @@ parse_libtool_archive (const gchar* libtool_name)
if (fd < 0)
{
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);
return NULL;
}
@ -390,7 +390,7 @@ parse_libtool_archive (const gchar* libtool_name)
G_TOKEN_IDENTIFIER : G_TOKEN_STRING))
{
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 (lt_dlname);
@ -433,7 +433,7 @@ parse_libtool_archive (const gchar* libtool_name)
if (lt_libdir == NULL || lt_dlname == NULL)
{
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);
return NULL;