diff options
author | Benjamin Otte <otte@gnome.org> | 2008-02-26 09:51:55 +0000 |
---|---|---|
committer | Benjamin Otte <otte@src.gnome.org> | 2008-02-26 09:51:55 +0000 |
commit | 345078c3e84c946d4c655fe1af74de481ebb18d1 (patch) | |
tree | 452daf11381e7a73ec8e4e2c6aa63367ad05cb4b /common/gmountsource.c | |
parent | f23d03915ee0bf49b8970a339cb665333a7299da (diff) | |
download | gvfs-345078c3e84c946d4c655fe1af74de481ebb18d1.tar.gz |
make errors say "Internal Error" instead of failing
2008-02-26 Benjamin Otte <otte@gnome.org>
* common/gmountsource.c: (ask_password_reply),
(g_mount_source_ask_password_async), (ask_question_reply),
(g_mount_source_ask_question_async):
make errors say "Internal Error" instead of failing
svn path=/trunk/; revision=1387
Diffstat (limited to 'common/gmountsource.c')
-rw-r--r-- | common/gmountsource.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/common/gmountsource.c b/common/gmountsource.c index 01bc8c4a..cce63d98 100644 --- a/common/gmountsource.c +++ b/common/gmountsource.c @@ -204,7 +204,7 @@ ask_password_reply (DBusMessage *reply, if (handled == FALSE) { - g_simple_async_result_set_error (result, G_IO_ERROR, G_IO_ERROR_FAILED, NULL); + g_simple_async_result_set_error (result, G_IO_ERROR, G_IO_ERROR_FAILED, "Internal Error"); } g_simple_async_result_complete (result); @@ -230,7 +230,8 @@ g_mount_source_ask_password_async (GMountSource *source, g_simple_async_report_error_in_idle (G_OBJECT (source), callback, user_data, - G_IO_ERROR, G_IO_ERROR_FAILED, NULL); + G_IO_ERROR, G_IO_ERROR_FAILED, + "Internal Error"); return; } @@ -522,7 +523,7 @@ ask_question_reply (DBusMessage *reply, if (handled == FALSE) { - g_simple_async_result_set_error (result, G_IO_ERROR, G_IO_ERROR_FAILED, NULL); + g_simple_async_result_set_error (result, G_IO_ERROR, G_IO_ERROR_FAILED, "Internal Error"); } g_simple_async_result_complete (result); @@ -591,7 +592,8 @@ g_mount_source_ask_question_async (GMountSource *source, g_simple_async_report_error_in_idle (G_OBJECT (source), callback, user_data, - G_IO_ERROR, G_IO_ERROR_FAILED, NULL); + G_IO_ERROR, G_IO_ERROR_FAILED, + "Internal Error"); return; } |