gtk+ r19626 - trunk/gtk



Author: tml
Date: Thu Feb 21 16:23:01 2008
New Revision: 19626
URL: http://svn.gnome.org/viewvc/gtk+?rev=19626&view=rev

Log:
Small further change to make it more robust.


Modified:
   trunk/gtk/gtkfilechooserdefault.c

Modified: trunk/gtk/gtkfilechooserdefault.c
==============================================================================
--- trunk/gtk/gtkfilechooserdefault.c	(original)
+++ trunk/gtk/gtkfilechooserdefault.c	Thu Feb 21 16:23:01 2008
@@ -11138,7 +11138,8 @@
 	  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);



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