Build fix for master
authorJosé Dapena Paz <jdapena@igalia.com>
Thu, 14 Jan 2010 12:15:42 +0000 (13:15 +0100)
committerJosé Dapena Paz <jdapena@igalia.com>
Thu, 14 Jan 2010 12:15:42 +0000 (13:15 +0100)
src/modest-ui-actions.c
src/widgets/modest-msg-view-window.c

index 5e0506d..97bb9c8 100644 (file)
@@ -5177,8 +5177,8 @@ modest_ui_actions_on_edit_mode_move_to (ModestWindow *win)
        }
 
        /* Create and run the dialog */
-       dialog = create_move_to_dialog (win, NULL, list_to_move);
        toplevel = (GtkWindow *) gtk_widget_get_toplevel ((GtkWidget *) win);
+       dialog = create_move_to_dialog (toplevel, NULL, list_to_move);
        modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
                                     GTK_WINDOW (dialog),
                                     toplevel);
index c483c67..a3fddba 100644 (file)
@@ -2752,7 +2752,7 @@ on_decode_to_stream_async_handler (TnyMimePart *mime_part,
                                account = modest_account_mgr_get_default_account (modest_runtime_get_account_mgr ());
 
                        msg = tny_camel_msg_new ();
-                       tny_camel_msg_parse (msg, file_stream);
+                       tny_camel_msg_parse (TNY_CAMEL_MSG (msg), file_stream);
 
                        if (priv->top_msg)
                                top_msg = g_object_ref (priv->top_msg);