Fixed a segfault when closing preferences dialog and loading VTE was enabled after it was disabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@985 ea778897-0a13-0410-b9d1-a72fbfd435f5master
parent
bae191b373
commit
420011adc6
|
@ -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>
|
||||
|
|
|
@ -117,7 +117,7 @@ void configuration_save()
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue