mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug#340936: Actually close the SX list when we are button-requested to Close the dialog, thus cleaning up properly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13940 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a2d6c363a6
commit
27106709ec
@ -1,3 +1,9 @@
|
|||||||
|
2006-05-07 Joshua Sled <jsled@asynchronous.org>
|
||||||
|
|
||||||
|
* src/gnome/dialog-scheduledxaction.c (sxd_close_handler):
|
||||||
|
Actually close the dialog when we are button-requested to Close
|
||||||
|
the dialog, thus cleaning up properly. Bug#340936.
|
||||||
|
|
||||||
2006-05-07 Joshua Sled <jsled@asynchronous.org>
|
2006-05-07 Joshua Sled <jsled@asynchronous.org>
|
||||||
|
|
||||||
* src/register/register-gnome/formulacell-gnome.c
|
* src/register/register-gnome/formulacell-gnome.c
|
||||||
|
@ -253,9 +253,9 @@ void
|
|||||||
sxd_close_handler (gpointer user_data)
|
sxd_close_handler (gpointer user_data)
|
||||||
{
|
{
|
||||||
SchedXactionDialog *sxd = user_data;
|
SchedXactionDialog *sxd = user_data;
|
||||||
|
|
||||||
gnc_sxl_record_size(sxd);
|
gnc_sxl_record_size(sxd);
|
||||||
gtk_widget_hide(sxd->dialog);
|
gtk_widget_hide(sxd->dialog);
|
||||||
|
gtk_widget_destroy(sxd->dialog);
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
@ -1165,7 +1165,12 @@ scheduledxaction_dialog_destroy(GtkObject *object, gpointer data)
|
|||||||
gnc_unregister_gui_component_by_data
|
gnc_unregister_gui_component_by_data
|
||||||
(DIALOG_SCHEDXACTION_CM_CLASS, sxd);
|
(DIALOG_SCHEDXACTION_CM_CLASS, sxd);
|
||||||
|
|
||||||
// FIXME: um. We should free memory and stuff, here.
|
// FIXME: um. We should free memory and stuff, here...
|
||||||
|
/*
|
||||||
|
GladeXML *gxml;
|
||||||
|
GncDenseCal *gdcal;
|
||||||
|
GHashTable *sxData;
|
||||||
|
*/
|
||||||
|
|
||||||
g_free( sxd );
|
g_free( sxd );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user