[glib: 2/3] gmodule: Use Unicode quotation marks in error messages
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/3] gmodule: Use Unicode quotation marks in error messages
- Date: Wed, 6 Jul 2022 13:00:22 +0000 (UTC)
commit 06be6ac8fc6b987fa2fa22cbf4189f1605d90746
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Jul 6 13:33:46 2022 +0100
gmodule: Use Unicode quotation marks in error messages
This makes them a little nicer to read.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
gmodule/gmodule.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index 9f5c53f217..eadb051535 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]