[anjal] Fix build issues



commit fc49f38aaa2a6f14e1a194257eefb579bd6f02d9
Author: Srinivasa Ragavan <sragavan novell com>
Date:   Tue Mar 24 09:36:02 2009 +0530

    Fix build issues
---
 src/e-msg-composer-utils.c |    2 +-
 src/e-msg-composer.c       |    2 +-
 src/mail-folder-view.c     |    2 +-
 src/main.c                 |   12 ++++++++++++
 4 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/src/e-msg-composer-utils.c b/src/e-msg-composer-utils.c
index a077a10..77db49e 100644
--- a/src/e-msg-composer-utils.c
+++ b/src/e-msg-composer-utils.c
@@ -239,7 +239,7 @@ e_msg_utils_composer_get_message (EMsgComposer *composer, gboolean save_html_obj
 	return message;
 }
 
-static CamelMimeMessage *
+static void
 composer_send_queued_cb (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info,
 			 int queued, const char *appended_uid, void *data)
 {
diff --git a/src/e-msg-composer.c b/src/e-msg-composer.c
index f973651..31d20d3 100644
--- a/src/e-msg-composer.c
+++ b/src/e-msg-composer.c
@@ -629,7 +629,7 @@ msg_composer_class_init (EMsgComposerClass *klass)
 		G_TYPE_NONE, 0);
 }
 
-static 
+static void
 send_button_clicked_cb (GtkButton *button, EMsgComposer *composer)
 {
 	g_signal_emit (G_OBJECT (composer), signals[SEND], 0);
diff --git a/src/mail-folder-view.c b/src/mail-folder-view.c
index 3f6d9e4..e4d914b 100644
--- a/src/mail-folder-view.c
+++ b/src/mail-folder-view.c
@@ -846,7 +846,7 @@ mail_folder_view_construct (MailFolderView *shell)
 	/* FIXME: A Horrible Gtk+ hack I do. If the cell is activatable, keyboard scroll is *very* slow.
 	   Drawing the focus seems bad takes CPU there. Avoiding it. Specially when you do 5 down arrow and do
 	   the first up-arrow. I takes ~2 secs to respond. I bypass it by this.*/
-	column->editable_widget = 0xdeadbeef;
+	column->editable_widget = (gpointer)0xdeadbeef;
 	
 	gtk_tree_view_column_set_fixed_width (column, 750);
 	gtk_tree_view_column_set_sizing  (column, GTK_TREE_VIEW_COLUMN_FIXED);	
diff --git a/src/main.c b/src/main.c
index b51d37f..3296130 100644
--- a/src/main.c
+++ b/src/main.c
@@ -74,3 +74,15 @@ main (int argc, char *argv[])
 	
 	return 0;
 }
+
+#ifndef HACK
+gpointer em_format_html_print_new(gpointer p1, int i)
+{
+	return NULL;
+}
+
+void em_format_html_print_raw_message (gpointer p1, gpointer p2)
+{
+	return 0;
+}
+#endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]