gtk+ r19627 - branches/gtk-2-12/gtk



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

Log:
Small further change to make it more robust.


Modified:
   branches/gtk-2-12/gtk/gtkfilechooserdefault.c

Modified: branches/gtk-2-12/gtk/gtkfilechooserdefault.c
==============================================================================
--- branches/gtk-2-12/gtk/gtkfilechooserdefault.c	(original)
+++ branches/gtk-2-12/gtk/gtkfilechooserdefault.c	Thu Feb 21 16:26:11 2008
@@ -11137,7 +11137,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]