+2006-07-08 [colin] 2.3.1cvs74
+
+ * src/main.c
+ Prevent bug #981 (sc 2.3.1 segfaults with
+ gtk+ 2.10) from being reported again:
+ if Sylpheed-Claws has been compiled against
+ GTK+ < 2.9.0 and we're running with GTK+ >= 2.9.0,
+ of if Sylpheed-Claws has been compiled against
+ GTK+ >= 2.9.0 and we're running with GTK+ < 2.9.0,
+ error out.
+
2006-07-07 [colin] 2.3.1cvs73
* src/prefs_actions.c
( cvs diff -u -r 1.9.2.26 -r 1.9.2.27 src/common/defs.h; ) > 2.3.1cvs71.patchset
( cvs diff -u -r 1.60.2.36 -r 1.60.2.37 src/prefs_actions.c; ) > 2.3.1cvs72.patchset
( cvs diff -u -r 1.60.2.37 -r 1.60.2.38 src/prefs_actions.c; ) > 2.3.1cvs73.patchset
+( cvs diff -u -r 1.115.2.94 -r 1.115.2.95 src/main.c; ) > 2.3.1cvs74.patchset
g_error(_("g_thread is not supported by glib.\n"));
}
+ /* check that we're not on a too recent/old gtk+ */
+#if GTK_CHECK_VERSION(2, 9, 0)
+ if (gtk_check_version(2, 9, 0) != NULL) {
+ alertpanel_error(_("Sylpheed-Claws has been compiled with "
+ "a more recent GTK+ library than is "
+ "currently available. This will cause "
+ "crashes. Please upgrade GTK+ or recompile "
+ "Sylpheed-Claws."));
+ exit(1);
+ }
+#else
+ if (gtk_check_version(2, 9, 0) == NULL) {
+ alertpanel_error(_("Sylpheed-Claws has been compiled with "
+ "an an older GTK+ library than is "
+ "currently available. This will cause "
+ "crashes. Please recompile "
+ "Sylpheed-Claws."));
+ exit(1);
+ }
+#endif
/* parse gtkrc files */
userrc = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S, ".gtkrc-2.0",
NULL);