]> Pileus Git - ~andy/gtk/commitdiff
Small further change to make it more robust.
authorTor Lillqvist <tml@src.gnome.org>
Thu, 21 Feb 2008 16:23:01 +0000 (16:23 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 21 Feb 2008 16:23:01 +0000 (16:23 +0000)
svn path=/trunk/; revision=19626

gtk/gtkfilechooserdefault.c

index d4bb4dddd9f8818c6c835c140d1b43ea23d2ec97..a2a75f732ef5bff98bbfb604fbaa411f3b617732 100644 (file)
@@ -11138,7 +11138,8 @@ list_mtime_data_func (GtkTreeViewColumn *tree_column,
          date_str = g_locale_to_utf8 (buf, -1, NULL, NULL, NULL);
 #endif
        }
-      else
+
+      if (date_str == NULL)
        date_str = g_strdup (_("Unknown"));
 
       g_free (locale_format);