* src/main.c
Don't initialize g_thread subsystem if it's
already done (thanks to Hiro)
* src/mimeview.c
Fix saving of parts when there name can't be
converted from UTF-8.
+2006-05-17 [colin] 2.2.0cvs29
+
+ * src/main.c
+ Don't initialize g_thread subsystem if it's
+ already done (thanks to Hiro)
+ * src/mimeview.c
+ Fix saving of parts when there name can't be
+ converted from UTF-8.
+
2006-05-17 [paul] 2.2.0cvs28
* po/Makefile.in.in
( cvs diff -u -r 1.274.2.114 -r 1.274.2.115 src/mainwindow.c; ) > 2.2.0cvs26.patchset
( cvs diff -u -r 1.53.2.17 -r 1.53.2.18 po/POTFILES.in; ) > 2.2.0cvs27.patchset
( cvs diff -u -r 1.6.2.7 -r 1.6.2.8 po/Makefile.in.in; ) > 2.2.0cvs28.patchset
+( cvs diff -u -r 1.115.2.86 -r 1.115.2.87 src/main.c; cvs diff -u -r 1.83.2.68 -r 1.83.2.69 src/mimeview.c; ) > 2.2.0cvs29.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=28
+EXTRA_VERSION=29
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
if (cmd.exit)
return 0;
#endif
- g_thread_init(NULL);
- /* gdk_threads_init(); */
+ if (!g_thread_supported())
+ g_thread_init(NULL);
gtk_set_locale();
gtk_init(&argc, &argv);
tmp = g_filename_from_utf8(filename, -1, NULL, NULL, NULL);
+ if (tmp == NULL) {
+ g_warning("filename not in UTF-8");
+ tmp = g_strdup("Unnamed part");
+ }
filename = g_strconcat(get_mime_tmp_dir(), G_DIR_SEPARATOR_S,
tmp, NULL);