the "delete_event" callback should always do the same as the "Close"

2000-05-05  Michael Natterer  <mitch@gimp.org>

	* app/docindex.c: the "delete_event" callback should always do
	the same as the "Close" callback.
This commit is contained in:
Michael Natterer 2000-05-05 15:21:56 +00:00 committed by Michael Natterer
parent c53bbcab1b
commit 9bad5d7482
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2000-05-05 Michael Natterer <mitch@gimp.org>
* app/docindex.c: the "delete_event" callback should always do
the same as the "Close" callback.
2000-05-05 Michael Natterer <mitch@gimp.org>
Made the document index a bit more like the rest of the dialogs:

View File

@ -171,12 +171,9 @@ idea_window_delete_event_callback (GtkWidget *widget,
GdkEvent *event,
gpointer data)
{
save_idea_manager (ideas);
create_idea_list ();
g_free (ideas);
ideas = 0;
idea_hide_callback (NULL, NULL);
return FALSE;
return TRUE;
}
void