diff options
author | Vasily_Makarov <danilka.pro@gmail.com> | 2011-06-11 10:56:20 +0400 |
---|---|---|
committer | Vasily_Makarov <danilka.pro@gmail.com> | 2011-06-11 10:56:20 +0400 |
commit | d390759fb46926cc95a95635418564b53f5bf701 (patch) | |
tree | 65c632ea603918be8d556c0f131a30bd095c2efb /saedit/main.c | |
parent | 5925ab12b68bf17f555929687ebd7a645c5ff316 (diff) | |
download | evol-tools-d390759fb46926cc95a95635418564b53f5bf701.tar.gz evol-tools-d390759fb46926cc95a95635418564b53f5bf701.tar.bz2 evol-tools-d390759fb46926cc95a95635418564b53f5bf701.tar.xz evol-tools-d390759fb46926cc95a95635418564b53f5bf701.zip |
saedit: Add forgotten sprite_info destroying
Diffstat (limited to 'saedit/main.c')
-rw-r--r-- | saedit/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/saedit/main.c b/saedit/main.c index 5c23313..1f43b3e 100644 --- a/saedit/main.c +++ b/saedit/main.c @@ -114,6 +114,7 @@ void free_animations() { gtk_list_store_clear(GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(animations_combo_box)))); kill_timeout(running_animation); running_animation = 0; + current_sprite = sprite_info_new(-1, 0, 0); set_sprite_by_index(0); } @@ -434,6 +435,9 @@ void load_options() { } void parse_xml_buffer(GtkWidget *button, GtkSourceBuffer *buffer) { + free_imagesets(); + free_actions(); + free_animations(); load_options(); GtkTextIter beg, end; |