Mercurial > pidgin.yaz
comparison src/gtksavedstatuses.c @ 13172:12d960995cdc
[gaim-migrate @ 15535]
SF Patch #1414306 from Sadrul
Don't free dialog before we're done with it.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 08 Feb 2006 04:13:10 +0000 |
parents | e90e8655290d |
children | 07ecd51f1f07 |
comparison
equal
deleted
inserted
replaced
13171:18d320fdf28c | 13172:12d960995cdc |
---|---|
762 g_free(message); | 762 g_free(message); |
763 g_free(unformatted); | 763 g_free(unformatted); |
764 | 764 |
765 gtk_widget_destroy(dialog->window); | 765 gtk_widget_destroy(dialog->window); |
766 g_free(dialog->original_title); | 766 g_free(dialog->original_title); |
767 g_free(dialog); | |
768 | 767 |
769 if (status_window != NULL) | 768 if (status_window != NULL) |
770 add_status_to_saved_status_list(status_window->model, saved_status); | 769 add_status_to_saved_status_list(status_window->model, saved_status); |
771 | 770 |
772 /* If they clicked on "Save & Use" or "Use," then activate the status */ | 771 /* If they clicked on "Save & Use" or "Use," then activate the status */ |
773 if (button != dialog->save_button) | 772 if (button != dialog->save_button) |
774 gaim_savedstatus_activate(saved_status); | 773 gaim_savedstatus_activate(saved_status); |
774 g_free(dialog); | |
775 } | 775 } |
776 | 776 |
777 static void | 777 static void |
778 editor_title_changed_cb(GtkWidget *widget, gpointer user_data) | 778 editor_title_changed_cb(GtkWidget *widget, gpointer user_data) |
779 { | 779 { |