Don't call changed_preset() until after we've initialised

fe->copy_menu_item.

[originally from svn r8163]
This commit is contained in:
Simon Tatham
2008-09-06 17:33:04 +00:00
parent f38b711c73
commit ca20d86a06

3
gtk.c
View File

@ -1689,7 +1689,6 @@ static frontend *new_window(char *arg, int argtype, char **error)
} else
fe->preset_custom_bullet = NULL;
changed_preset(fe);
} else {
fe->npresets = 0;
fe->preset_bullets = NULL;
@ -1745,6 +1744,8 @@ static frontend *new_window(char *arg, int argtype, char **error)
GTK_SIGNAL_FUNC(menu_about_event), fe);
gtk_widget_show(menuitem);
changed_preset(fe);
{
int i, ncolours;
float *colours;