[gedit-collaboration] Improve builder failure warning



commit 64f61d49a43b4bc82862d9a27e3ba7437d8d225f
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Sun Apr 3 17:10:10 2011 +0200

    Improve builder failure warning

 src/gedit-collaboration.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/gedit-collaboration.c b/src/gedit-collaboration.c
index 2012c90..a3fd799 100644
--- a/src/gedit-collaboration.c
+++ b/src/gedit-collaboration.c
@@ -106,7 +106,11 @@ gedit_collaboration_create_builder (const gchar *data_dir,
 
 	if (builder == NULL)
 	{
-		g_warning ("Could not construct builder for file %s", filename);
+		g_warning ("Could not construct builder for file %s/%s: %s",
+		           data_dir,
+		           filename,
+		           error->message);
+
 		g_error_free (error);
 	}
 



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