check folder item and its path for NULL on
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Wed, 31 Jul 2002 18:25:06 +0000 (18:25 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Wed, 31 Jul 2002 18:25:06 +0000 (18:25 +0000)
initial processing

ChangeLog.claws
configure.in
src/main.c

index 59272a0248283d6848e68a8b2ef84360f87088bf..8ade9128ff22a94279c096a15e3eca7c196a776c 100644 (file)
@@ -1,3 +1,9 @@
+2002-07-31 [alfons]    0.8.1claws5
+
+       * src/main.c
+               check folder item and its path for NULL on
+               initial processing
+
 2002-07-31 [christoph] 0.8.1claws4
 
        * src/folder.c
index b6e2ebc42187d8263b3e9532ce4c1ea0da04e64e..c996c2b7de3c8f081de095b76388ac9e323a01f7 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws4
+EXTRA_VERSION=claws5
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 4b6ee0d5d2a6f37a6c86449cee75cc5a5f2d7ec5..ebd242a3d850d5ff2afab0baee35e5d93c669d8f 100644 (file)
@@ -436,8 +436,12 @@ static void initial_processing(FolderItem *item, gpointer data)
 {
        MainWindow *mainwin = (MainWindow *)data;
        gchar *buf;
-               
-       buf = g_strdup_printf(_("Processing (%s)..."), item->path);
+
+       g_return_if_fail(item);
+       buf = g_strdup_printf(_("Processing (%s)..."), 
+                             item->path 
+                             ? item->path 
+                             : _("top level folder"));
        debug_print("%s\n", buf);
        STATUSBAR_PUSH(mainwin, buf);
        g_free(buf);