X-Git-Url: http://cgit.babelmonkeys.de/?p=jubjub.git;a=blobdiff_plain;f=src%2Fgui%2Fgtk%2FJubGtkUI.m;h=b70e3df923c0ea3c47fc5e3972bebf169de540bc;hp=b6110f4ea6d0d45912ac23e196b50c4b1db5446a;hb=0daa7a1cf98c6281dd7ba09baf0bf36cd1e154f7;hpb=68a17f7fc1f5fe8c2fee68ff35e672af4fd1e2f2 diff --git a/src/gui/gtk/JubGtkUI.m b/src/gui/gtk/JubGtkUI.m index b6110f4..b70e3df 100644 --- a/src/gui/gtk/JubGtkUI.m +++ b/src/gui/gtk/JubGtkUI.m @@ -10,7 +10,7 @@ void on_roster_window_destroy(GObject *object, gpointer user_data) } @implementation JubGtkUI -- initWithConnection: (XMPPConnection*)connection +- initWithClient: (JubChatClient*)client; { self = [super init]; @@ -24,7 +24,7 @@ void on_roster_window_destroy(GObject *object, gpointer user_data) gtk_init(argc, argv); rosterUI = [[JubGtkRosterUI alloc] - initWithConnection: connection]; + initWithClient: client]; } @catch (id e) { [self release]; @throw e; @@ -49,9 +49,4 @@ void on_roster_window_destroy(GObject *object, gpointer user_data) return nil; }] start]; } - -- (id)rosterDelegate -{ - return rosterUI; -} @end