aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-canvas.c2
-rw-r--r--widgets/misc/e-canvas.c2
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 *