Revision: 985 http://svn.sourceforge.net/geany/?rev=985&view=rev Author: eht16 Date: 2006-11-10 16:24:04 -0800 (Fri, 10 Nov 2006)
Log Message: ----------- Fixed a segfault when closing preferences dialog and loading VTE was enabled after it was disabled.
Modified Paths: -------------- trunk/ChangeLog trunk/src/keyfile.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-11-11 00:07:49 UTC (rev 984) +++ trunk/ChangeLog 2006-11-11 00:24:04 UTC (rev 985) @@ -2,6 +2,8 @@
* src/vte.c: Probe different versions of libvte.so, not only libvte.so and libvte.so.4. + * src/keyfile.c: Fixed a segfault when closing preferences dialog and + loading VTE was enabled after it was disabled.
2006-11-09 Enrico Tröger enrico.troeger@uvena.de
Modified: trunk/src/keyfile.c =================================================================== --- trunk/src/keyfile.c 2006-11-11 00:07:49 UTC (rev 984) +++ trunk/src/keyfile.c 2006-11-11 00:24:04 UTC (rev 985) @@ -117,7 +117,7 @@ g_key_file_set_boolean(config, PACKAGE, "auto_complete_constructs", app->pref_editor_auto_complete_constructs); #ifdef HAVE_VTE g_key_file_set_boolean(config, "VTE", "load_vte", vte_info.load_vte); - if (vte_info.load_vte) + if (vte_info.load_vte && vc != NULL) { gchar *tmp_string;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.