diff options
| author | Simon Tatham <anakin@pobox.com> | 2008-09-06 17:33:04 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2008-09-06 17:33:04 +0000 |
| commit | ca20d86a067e565b3c2cb5110255f179ed78a3d8 (patch) | |
| tree | 9d8a73619b2dedd07da87d315aea54826d0eb690 | |
| parent | f38b711c73174786b1dbf8878fb0cb132a89794d (diff) | |
| download | puzzles-ca20d86a067e565b3c2cb5110255f179ed78a3d8.zip puzzles-ca20d86a067e565b3c2cb5110255f179ed78a3d8.tar.gz puzzles-ca20d86a067e565b3c2cb5110255f179ed78a3d8.tar.bz2 puzzles-ca20d86a067e565b3c2cb5110255f179ed78a3d8.tar.xz | |
Don't call changed_preset() until after we've initialised
fe->copy_menu_item.
[originally from svn r8163]
| -rw-r--r-- | gtk.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |