aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary/component
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/component
parent55940a77adb50fb42920cecc29d8c28501084209 (diff)
downloadgsoc2013-evolution-9b7a92e8eacbbb84c2f0114508dd9f2163394809.tar
gsoc2013-evolution-9b7a92e8eacbbb84c2f0114508dd9f2163394809.tar.gz
gsoc2013-evolution-9b7a92e8eacbbb84c2f0114508dd9f2163394809.tar.bz2
gsoc2013-evolution-9b7a92e8eacbbb84c2f0114508dd9f2163394809.tar.lz
gsoc2013-evolution-9b7a92e8eacbbb84c2f0114508dd9f2163394809.tar.xz
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/component')
-rw-r--r--executive-summary/component/e-summary-callbacks.c5
-rw-r--r--executive-summary/component/e-summary-callbacks.h2
-rw-r--r--executive-summary/component/e-summary-url.c2
-rw-r--r--executive-summary/component/e-summary-util.c2
-rw-r--r--executive-summary/component/e-summary.c3
-rw-r--r--executive-summary/component/main.c1
6 files changed, 10 insertions, 5 deletions
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 <liboaf/liboaf.h>
#include <glade/glade.h>
+#include <e-summary-callbacks.h>
#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)
diff --git a/executive-summary/component/e-summary-callbacks.h b/executive-summary/component/e-summary-callbacks.h
index 3d42adca26..6b908d694c 100644
--- a/executive-summary/component/e-summary-callbacks.h
+++ b/executive-summary/component/e-summary-callbacks.h
@@ -1,6 +1,8 @@
#ifndef __E_SUMMARY_CALLBACKS_H__
#define __E_SUMMARY_CALLBACKS_H__
+#include "e-summary.h"
+
void embed_service (GtkWidget *widget,
ESummary *esummary);
void new_mail (GtkWidget *widget,
diff --git a/executive-summary/component/e-summary-url.c b/executive-summary/component/e-summary-url.c
index ae218cf7c8..c3be19ab78 100644
--- a/executive-summary/component/e-summary-url.c
+++ b/executive-summary/component/e-summary-url.c
@@ -462,8 +462,6 @@ e_summary_url_click (GtkWidget *widget,
num_pages = Bonobo_PropertyControl__get_pageCount (window->propertycontrol, &ev);
for (i = 0; i < num_pages; i++) {
- char *pagename;
-
control = Bonobo_PropertyControl_getControl (window->propertycontrol, i, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
g_warning ("Unable to get property control.");
diff --git a/executive-summary/component/e-summary-util.c b/executive-summary/component/e-summary-util.c
index 52f4994185..78731a6b3e 100644
--- a/executive-summary/component/e-summary-util.c
+++ b/executive-summary/component/e-summary-util.c
@@ -21,6 +21,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <e-summary-util.h>
+
#include <gnome.h>
char *
diff --git a/executive-summary/component/e-summary.c b/executive-summary/component/e-summary.c
index 3454e37f83..f2281e4b06 100644
--- a/executive-summary/component/e-summary.c
+++ b/executive-summary/component/e-summary.c
@@ -32,6 +32,7 @@
#include <gtkhtml/gtkhtml-embedded.h>
#include <gtkhtml/gtkhtml-stream.h>
#include <gtkhtml/htmlengine.h>
+#include <gtkhtml/htmlselection.h>
#include <gal/util/e-util.h>
#include <gal/widgets/e-gui-utils.h>
@@ -617,7 +618,7 @@ e_summary_queue_rebuild (ESummary *esummary)
if (priv->idle != 0)
return;
- priv->idle = g_idle_add (e_summary_rebuild_page, esummary);
+ priv->idle = g_idle_add ((GSourceFunc) e_summary_rebuild_page, esummary);
}
static void
diff --git a/executive-summary/component/main.c b/executive-summary/component/main.c
index 0c36a9866e..3e29b5f337 100644
--- a/executive-summary/component/main.c
+++ b/executive-summary/component/main.c
@@ -27,6 +27,7 @@
#include <bonobo/bonobo-main.h>
#include <bonobo/bonobo-object-directory.h>
#include <liboaf/liboaf.h>
+#include <glade/glade.h>
#ifdef GTKHTML_HAVE_GCONF
#include <gconf/gconf.h>