gvfs r1387 - in trunk: . common



Author: otte
Date: Tue Feb 26 09:51:55 2008
New Revision: 1387
URL: http://svn.gnome.org/viewvc/gvfs?rev=1387&view=rev

Log:
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



Modified:
   trunk/ChangeLog
   trunk/common/gmountsource.c

Modified: trunk/common/gmountsource.c
==============================================================================
--- trunk/common/gmountsource.c	(original)
+++ trunk/common/gmountsource.c	Tue Feb 26 09:51:55 2008
@@ -204,7 +204,7 @@
 
   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_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 @@
 
   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_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;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]