}
@implementation JubGtkUI
-- initWithConnection: (XMPPConnection*)connection
+- initWithClient: (JubChatClient*)client;
{
self = [super init];
gtk_init(argc, argv);
rosterUI = [[JubGtkRosterUI alloc]
- initWithConnection: connection];
+ initWithClient: client];
} @catch (id e) {
[self release];
@throw e;
return nil;
}] start];
}
-
-- (id<XMPPRosterDelegate>)rosterDelegate
-{
- return rosterUI;
-}
@end