浏览代码

remove unused method setDuration()

cyberta 4 年之前
父节点
当前提交
41795d0b5e
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      DcCore/DcCore/DC/Wrapper.swift

+ 0 - 4
DcCore/DcCore/DC/Wrapper.swift

@@ -1014,10 +1014,6 @@ public class DcMsg {
     public func setDimension(width: CGFloat, height: CGFloat) {
         dc_msg_set_dimension(messagePointer, Int32(width), Int32(height))
     }
-    
-    public func setDuration(_ duration: Double) {
-        dc_msg_set_duration(messagePointer, Int32(duration))
-    }
 
     public var filesize: Int {
         return Int(dc_msg_get_filebytes(messagePointer))