[anjal] Fix warnings in main.c



commit c135a7661d70c73636dbf9d699dab41d54f7c29d
Author: Srinivasa Ragavan <sragavan novell com>
Date:   Fri May 29 08:26:42 2009 +0530

    Fix warnings in main.c
---
 src/main.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/main.c b/src/main.c
index 3296130..3cf27f3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -31,9 +31,12 @@
 #include <gtk/gtk.h>
 #include <glade/glade.h>
 #include <glib/gi18n.h>
-
-
+#include <misc/e-cursors.h>
+#include <e-util/e-icon-factory.h>
+#include <libedataserverui/e-passwords.h>
+#include <mail/mail-mt.h>
 #include "mail-shell.h"
+#include <libgnome/gnome-sound.h>
 
 /* For testing propose use the local (not installed) glade file */
 /* #define GLADE_FILE PACKAGE_DATA_DIR"/anjal/glade/anjal.glade" */
@@ -63,7 +66,7 @@ main (int argc, char *argv[])
 	mail_msg_init ();
 	gnome_sound_init ("localhost");
 
-	window = (GtkWindow *)mail_shell_new ();
+	window = (GtkWidget *)mail_shell_new ();
 	gtk_widget_show (window);
 
 	gtk_main ();
@@ -83,6 +86,6 @@ gpointer em_format_html_print_new(gpointer p1, int i)
 
 void em_format_html_print_raw_message (gpointer p1, gpointer p2)
 {
-	return 0;
+	return ;
 }
 #endif



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