From 9b7a92e8eacbbb84c2f0114508dd9f2163394809 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 12 Dec 2000 23:29:56 +0000 Subject: Added #include . (destroy_prefs_cb): Added a cast. 2000-12-12 Christopher James Lahey * component/e-summary-callbacks.c: Added #include . (destroy_prefs_cb): Added a cast. (configure_summary): Added a cast. * component/e-summary-callbacks.h: Added #include "e-summary.h" * component/e-summary-url.c (e_summary_url_click): Removed an unused variable. * component/e-summary-util.c: Added #include * component/e-summary.c: Added #include . (e_summary_queue_rebuild): Added a cast. * component/main.c: Added #include . * test-service/main.c: Changed some variable types to make casting easier. * test-service/rdf-summary.c: Changed some variable types to make casting easier. svn path=/trunk/; revision=6953 --- executive-summary/component/e-summary-callbacks.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'executive-summary/component/e-summary-callbacks.c') diff --git a/executive-summary/component/e-summary-callbacks.c b/executive-summary/component/e-summary-callbacks.c index 03ea56805c..09072990d5 100644 --- a/executive-summary/component/e-summary-callbacks.c +++ b/executive-summary/component/e-summary-callbacks.c @@ -31,6 +31,7 @@ #include #include +#include #include "e-summary.h" @@ -128,7 +129,7 @@ static void destroy_prefs_cb (GtkObject *object, PropertyData *data) { - gtk_object_unref (data->xml); + gtk_object_unref (GTK_OBJECT(data->xml)); g_free (data); } @@ -191,7 +192,7 @@ configure_summary (GtkWidget *widget, data->xml = glade_xml_new (EVOLUTION_GLADEDIR "/executive-summary-config.glade", NULL); prefs = glade_xml_get_widget (data->xml, "summaryprefs"); - data->box = prefs; + data->box = GNOME_PROPERTY_BOX(prefs); html_page = glade_xml_get_widget (data->xml, "htmlpage"); if (esummary->prefs->page != NULL) -- cgit v1.2.3