aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary-factory.c')
-rw-r--r--my-evolution/e-summary-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/my-evolution/e-summary-factory.c b/my-evolution/e-summary-factory.c
index a7a0018833..9d9fe3c78f 100644
--- a/my-evolution/e-summary-factory.c
+++ b/my-evolution/e-summary-factory.c
@@ -116,7 +116,7 @@ static void
control_destroy_cb (BonoboControl *control,
ESummary *summary)
{
- gtk_object_destroy (GTK_OBJECT (summary));
+ gtk_widget_destroy (GTK_WIDGET (summary));
}
BonoboControl *
@@ -139,7 +139,7 @@ e_summary_factory_new_control (const char *uri,
control = bonobo_control_new (summary);
if (control == NULL) {
- gtk_object_destroy (GTK_OBJECT (summary));
+ gtk_widget_destroy (summary);
return NULL;
}