[anjal] Fix warnings around.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Fix warnings around.
- Date: Thu, 25 Jun 2009 05:31:03 +0000 (UTC)
commit c26c66450a8203c6cc6a86eba977cfd2b9a1ce3a
Author: Srinivasa Ragavan <sragavan novell com>
Date: Thu Jun 25 11:01:54 2009 +0530
Fix warnings around.
src/mail-folder-view.c | 4 ++--
src/mail-message-view.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/mail-folder-view.c b/src/mail-folder-view.c
index ec2c824..68659cd 100644
--- a/src/mail-folder-view.c
+++ b/src/mail-folder-view.c
@@ -1008,7 +1008,7 @@ mfv_message_got(CamelFolder *folder, const char *uid, CamelMimeMessage *msg, voi
mfv->priv->cancel = NULL;
composer = em_utils_edit_message (msg, folder);
mcv = mail_shell_create_composer ();
- mail_composer_view_replace_composer ((struct _MailComposerView *)mcv, composer);
+ mail_composer_view_replace_composer ((struct _MailComposerView *)mcv, (GtkWidget *)composer);
}
static void
@@ -1396,7 +1396,7 @@ mail_folder_view_construct (MailFolderView *shell)
g_signal_connect (shell->tree, "key-press-event", G_CALLBACK(mfv_key_pressed), shell);
/* Setup DND */
- gtk_drag_source_set(shell->tree, GDK_BUTTON1_MASK,
+ gtk_drag_source_set((GtkWidget *)shell->tree, GDK_BUTTON1_MASK,
ml_drag_types, sizeof(ml_drag_types)/sizeof(ml_drag_types[0]),
GDK_ACTION_MOVE|GDK_ACTION_COPY|GDK_ACTION_ASK);
diff --git a/src/mail-message-view.c b/src/mail-message-view.c
index 5267d87..87f4093 100644
--- a/src/mail-message-view.c
+++ b/src/mail-message-view.c
@@ -890,7 +890,7 @@ mmv_create_webview (MailMessageView *mmv, GtkWidget *box)
gtk_scrolled_window_set_policy ((GtkScrolledWindow *)scroll, GTK_POLICY_AUTOMATIC, GTK_POLICY_NEVER);
gtk_widget_show(scroll);
- gtk_container_add (scroll, (GtkWidget*)web);
+ gtk_container_add ((GtkContainer *)scroll, (GtkWidget*)web);
g_signal_connect (web, "load-started", G_CALLBACK(mmv_finished_webkit), mmv);
g_signal_connect (web, "load-finished", G_CALLBACK(mmv_finished_loading_webkit), mmv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]