forked from coyim/coyim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtk.go
29 lines (24 loc) · 831 Bytes
/
gtk.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// +build !cli
package main
import (
"github.com/twstrike/coyim/Godeps/_workspace/src/github.com/twstrike/gotk3adapter/gdka"
"github.com/twstrike/coyim/Godeps/_workspace/src/github.com/twstrike/gotk3adapter/gliba"
"github.com/twstrike/coyim/Godeps/_workspace/src/github.com/twstrike/gotk3adapter/gtka"
"github.com/twstrike/coyim/Godeps/_workspace/src/github.com/twstrike/gotk3adapter/pangoa"
"github.com/twstrike/coyim/gui"
"github.com/twstrike/coyim/gui/settings"
"github.com/twstrike/coyim/i18n"
"github.com/twstrike/coyim/session"
"github.com/twstrike/coyim/xmpp"
)
func runClient() {
g := gui.CreateGraphics(
gtka.Real,
gliba.Real,
gdka.Real,
pangoa.Real,
)
i18n.InitLocalization(gliba.Real)
settings.InitSettings(gliba.Real)
gui.NewGTK(coyimVersion, session.Factory, xmpp.DialerFactory, g).Loop()
}