[Xfce4-commits] <xfburn:master> Better error reporting

David Mohr noreply at xfce.org
Fri Dec 4 08:50:01 CET 2009


Updating branch refs/heads/master
         to d2556e29883da86199d24ba5bca4294bf1a336b0 (commit)
       from f4e2afea91a05b3ae05960a3c799952810a105e8 (commit)

commit d2556e29883da86199d24ba5bca4294bf1a336b0
Author: David Mohr <squisher at xfce.org>
Date:   Thu Dec 3 11:19:26 2009 -0700

    Better error reporting

 xfburn/xfburn-data-composition.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xfburn/xfburn-data-composition.c b/xfburn/xfburn-data-composition.c
index 031dca6..143e58a 100644
--- a/xfburn/xfburn-data-composition.c
+++ b/xfburn/xfburn-data-composition.c
@@ -1867,10 +1867,10 @@ fill_image_with_composition (GtkTreeModel *model, IsoImage *image, IsoDir * pare
           g_error ("Failed adding %s as a node to the image: null pointer!", src);
         else if (r == ISO_NODE_NAME_NOT_UNIQUE)
           g_error ("Failed adding %s as a node to the image: node name not unique!", src);
-        /* else if (r == ISO_MEM_ERROR)
-          g_error ("Failed adding %s as a node to the image: memory error!", src); */
+        else if (r == ISO_OUT_OF_MEM)
+          g_error ("Failed adding %s as a node to the image: out of memory!", src);
         else
-          g_error ("Failed adding %s as a node to the image: code %d!", src, r);
+          g_error ("Failed adding %s as a node to the image: code %X!", src, r);
       }
 
       basename = g_path_get_basename (src);



More information about the Xfce4-commits mailing list