chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f38b711
)
Don't call changed_preset() until after we've initialised
author
Simon Tatham
<anakin@pobox.com>
Sat, 6 Sep 2008 17:33:04 +0000
(17:33 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sat, 6 Sep 2008 17:33:04 +0000
(17:33 +0000)
fe->copy_menu_item.
[originally from svn r8163]
gtk.c
patch
|
blob
|
history
diff --git
a/gtk.c
b/gtk.c
index 94e697524576893f5993dae219bbc586c69069c4..aa410aeaf05430691a5b1d2536dd8f11ec173e79 100644
(file)
--- a/
gtk.c
+++ b/
gtk.c
@@
-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;