Skip to content

Commit

Permalink
Remove comments and unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
claucece committed Sep 12, 2017
1 parent d6739cf commit 48b6773
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions gui/conversation.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,6 @@ func newConversationWindow(account *account, uid string, ui *gtkUI, existing *co
return conv
}

//func (conv *conversationPane) addNotification(notification gtki.InfoBar) {
// conv.notificationArea.Add(notification)
//}

func (conv *conversationWindow) Hide() {
conv.win.Hide()
}
Expand Down
3 changes: 0 additions & 3 deletions gui/file_transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import (
// This will get a checkbox and a message when done
// Or it will get an error message when failed
// There will be a cancel button there, that will cancel the file receipt
// Due to some latest changes: cancel button will enter a strange loop and transfer
// without tor does not work. It will prob be solved once the second thing is fixed

func (u *gtkUI) startAllListenersFor(ev events.FileTransfer, cv conversationView) {
go func() {
Expand Down Expand Up @@ -55,7 +53,6 @@ func (u *gtkUI) startAllListenersFor(ev events.FileTransfer, cv conversationView

if cv.isFileTransferCanceled() {
log.Printf("File transfer of file canceled")
// XXX: failing due to latest changes
ev.CancelTransfer <- true
return
}
Expand Down

0 comments on commit 48b6773

Please sign in to comment.