Skip to content

Commit 9116a98

Browse files
committed
Merging pull request from ebfe
1 parent 2b6567e commit 9116a98

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

libvncclient/golibvncclient.go

+1-8
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ package libvncclient
22

33
/*
44
#include <rfb/rfbclient.h>
5-
#cgo CFLAGS: -I/usr/local/include
6-
#cgo LDFLAGS: -L/usr/local/lib -lvncclient
5+
#cgo pkg-config: libvncclient
76
extern void setMallocFrameBufferProc(rfbClient *client);
87
extern void setGotFrameBufferUpdate(rfbClient *client);
98
extern void setClientRfbLog();
@@ -96,12 +95,6 @@ func (f *GoRfbClient) InitClient(argc int, argv *int8) (ret bool) {
9695
return
9796
}
9897

99-
func (f *GoRfbClient) RfbInitConnection() (ret bool) {
100-
_ret := C.rfbInitConnection(f.rfbClient)
101-
ret = toGoBool(_ret)
102-
return
103-
}
104-
10598
func (f *GoRfbClient) WaitForMessage(usecs int) (ret int) {
10699
_usecs := C.uint(usecs)
107100
_ret := C.WaitForMessage(f.rfbClient, _usecs)

libvncserver/golibvncserver.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ package libvncserver
22

33
/*
44
#include <rfb/rfb.h>
5-
#cgo CFLAGS: -I/usr/local/include
6-
#cgo LDFLAGS: -L/usr/local/lib -lvncserver
5+
#cgo pkg-config: libvncserver
76
extern void setServerRfbLog();
87
*/
98
import "C"

0 commit comments

Comments
 (0)