aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/print_dlg.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-06-28 09:00:11 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-06-28 09:00:11 +0000
commit8443bbbf757ab65be172b294ff7c32cf93453de8 (patch)
treea97bda6f59cab16eea09e6e4caf2781785378177 /gtk/print_dlg.c
parent6c094f6775a72ab2cf362cc5b172393a97dd68f5 (diff)
Replace all strerror() with g_strerror().
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
Diffstat (limited to 'gtk/print_dlg.c')
-rw-r--r--gtk/print_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c
index c5399ec0cf..1a9d486c21 100644
--- a/gtk/print_dlg.c
+++ b/gtk/print_dlg.c
@@ -1107,7 +1107,7 @@ print_ok_cb(GtkWidget *ok_bt, gpointer parent_w)
write_failure_alert_box(args->file, errno);
else
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "Error writing to print command: %s", strerror(errno));
+ "Error writing to print command: %s", g_strerror(errno));
break;
}