aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/test-service/main.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-13 07:29:56 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-13 07:29:56 +0800
commit9b7a92e8eacbbb84c2f0114508dd9f2163394809 (patch)
tree5e49153b821763c8d0bec4dfc0c08302b2852f02 /executive-summary/test-service/main.c
parent55940a77adb50fb42920cecc29d8c28501084209 (diff)
downloadgsoc2013-evolution-9b7a92e8eacbbb84c2f0114508dd9f2163394809.tar.gz
gsoc2013-evolution-9b7a92e8eacbbb84c2f0114508dd9f2163394809.tar.zst
gsoc2013-evolution-9b7a92e8eacbbb84c2f0114508dd9f2163394809.zip
Added #include <e-summary-callbacks.h>. (destroy_prefs_cb): Added a cast.
2000-12-12 Christopher James Lahey <clahey@helixcode.com> * component/e-summary-callbacks.c: Added #include <e-summary-callbacks.h>. (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 <e-summary-util.h> * component/e-summary.c: Added #include <gtkhtml/htmlselection.h>. (e_summary_queue_rebuild): Added a cast. * component/main.c: Added #include <glade/glade.h>. * 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
Diffstat (limited to 'executive-summary/test-service/main.c')
-rw-r--r--executive-summary/test-service/main.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/executive-summary/test-service/main.c b/executive-summary/test-service/main.c
index 1dcbf20b51..2a3b25975c 100644
--- a/executive-summary/test-service/main.c
+++ b/executive-summary/test-service/main.c
@@ -173,7 +173,9 @@ static BonoboObject *
create_view (ExecutiveSummaryComponentFactory *_factory,
void *closure)
{
- BonoboObject *component, *view, *bag, *stream;
+ BonoboObject *component, *view;
+ BonoboPersistStream *stream;
+ BonoboPropertyBag *bag;
UserData *ud;
/* Create the component object */
@@ -213,24 +215,24 @@ create_view (ExecutiveSummaryComponentFactory *_factory,
window_title: For the window title.
window_icon: For the window icon.
*/
- bonobo_property_bag_add (BONOBO_PROPERTY_BAG (bag),
+ bonobo_property_bag_add (bag,
"window_title", PROPERTY_TITLE,
BONOBO_ARG_STRING,
NULL,
"The title of this components window", 0);
- bonobo_property_bag_add (BONOBO_PROPERTY_BAG (bag),
+ bonobo_property_bag_add (bag,
"window_icon", PROPERTY_ICON,
BONOBO_ARG_STRING,
NULL,
"The icon for this component's window", 0);
/* Now add the interface */
- bonobo_object_add_interface (component, bag);
+ bonobo_object_add_interface (component, BONOBO_OBJECT(bag));
/* Add the Bonobo::PersistStream interface */
stream = bonobo_persist_stream_new (load_from_stream, save_to_stream,
NULL, content_types, NULL);
- bonobo_object_add_interface (component, stream);
+ bonobo_object_add_interface (component, BONOBO_OBJECT(stream));
running_views++;
/* Return the ExecutiveSummaryComponent object */