diff options
author | Matthew Loper <mloper@src.gnome.org> | 2000-07-28 00:25:43 +0800 |
---|---|---|
committer | Matthew Loper <mloper@src.gnome.org> | 2000-07-28 00:25:43 +0800 |
commit | 1da0c533d390d4add26fac6d175ca3b7576f3d43 (patch) | |
tree | a8cc1feb1f25c65156b7e338718d756992d42769 | |
parent | 672fb81ed04baf53204890ca04de6124a9ce2481 (diff) | |
download | gsoc2013-evolution-1da0c533d390d4add26fac6d175ca3b7576f3d43.tar.gz gsoc2013-evolution-1da0c533d390d4add26fac6d175ca3b7576f3d43.tar.zst gsoc2013-evolution-1da0c533d390d4add26fac6d175ca3b7576f3d43.zip |
Fix silly error of not chaining destructor for canvas.
svn path=/trunk/; revision=4390
-rw-r--r-- | e-util/ChangeLog | 7 | ||||
-rw-r--r-- | e-util/e-canvas.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-canvas.c | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 02b2af4e88..e3f3f89943 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,4 +1,9 @@ -2000-07-25 Peter Williams <peterw@helixcode.com> +2000-07-27 Peter Williams <peterw@helixcode.com> + + * e-canvas.c (e_canvas_destroy): Chain the + destroy handler. + +2000-07-25 Peter Williams <peterw@helixcode.com> * e-canvas.c (emit_event): Don't bother with dereferencing the event pointer. diff --git a/e-util/e-canvas.c b/e-util/e-canvas.c index bb4eb60184..fb67bf0379 100644 --- a/e-util/e-canvas.c +++ b/e-util/e-canvas.c @@ -121,6 +121,8 @@ e_canvas_destroy (GtkObject *object) ECanvas *canvas = E_CANVAS(object); if (canvas->idle_id) g_source_remove(canvas->idle_id); + if ((GTK_OBJECT_CLASS (parent_class))->destroy) + (*(GTK_OBJECT_CLASS (parent_class))->destroy) (object); } GtkWidget * diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c index bb4eb60184..fb67bf0379 100644 --- a/widgets/misc/e-canvas.c +++ b/widgets/misc/e-canvas.c @@ -121,6 +121,8 @@ e_canvas_destroy (GtkObject *object) ECanvas *canvas = E_CANVAS(object); if (canvas->idle_id) g_source_remove(canvas->idle_id); + if ((GTK_OBJECT_CLASS (parent_class))->destroy) + (*(GTK_OBJECT_CLASS (parent_class))->destroy) (object); } GtkWidget * |