diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2018-01-16 07:53:22 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2018-01-16 07:53:22 +0000 |
commit | 5f403357ddf4202f0a0111a8bf906ef835a72c21 (patch) | |
tree | 0e8361d2420d80a74472123fc601dd35e3ed4afa /src | |
parent | c660402460e9f7dc43e9f9644bc47e482c023c9f (diff) |
fixed typos (#278).
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3605 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/gtkutils.c | 4 | ||||
-rw-r--r-- | src/import.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gtkutils.c b/src/gtkutils.c index 8258094d..b1a488af 100644 --- a/src/gtkutils.c +++ b/src/gtkutils.c @@ -895,7 +895,7 @@ gboolean gtkut_text_buffer_find(GtkTextBuffer *buffer, const GtkTextIter *iter, wcs = g_utf8_to_ucs4(str, -1, &items_read, &items_written, &error); if (error != NULL) { - g_warning("An error occured while converting a string from UTF-8 to UCS-4: %s\n", error->message); + g_warning("An error occurred while converting a string from UTF-8 to UCS-4: %s\n", error->message); g_error_free(error); } if (!wcs || items_written <= 0) return FALSE; @@ -930,7 +930,7 @@ gboolean gtkut_text_buffer_find_backward(GtkTextBuffer *buffer, wcs = g_utf8_to_ucs4(str, -1, &items_read, &items_written, &error); if (error != NULL) { - g_warning("An error occured while converting a string from UTF-8 to UCS-4: %s\n", error->message); + g_warning("An error occurred while converting a string from UTF-8 to UCS-4: %s\n", error->message); g_error_free(error); } if (!wcs || items_written <= 0) return FALSE; diff --git a/src/import.c b/src/import.c index 7201eedf..a59f11f2 100644 --- a/src/import.c +++ b/src/import.c @@ -734,7 +734,7 @@ static void import_filesel_cb(GtkWidget *widget, gpointer data) utf8_filename = g_filename_to_utf8(filename, -1, NULL, NULL, NULL); if (!utf8_filename) { - g_warning("import_filesel_cb(): faild to convert characer set."); + g_warning("import_filesel_cb(): failed to convert characer set."); utf8_filename = g_strdup(filename); } gtk_entry_set_text(GTK_ENTRY(file_entry), utf8_filename); |