From: Florian Zeitz Date: Mon, 1 Jul 2013 20:07:06 +0000 (+0200) Subject: Adapt to ObjFW changes X-Git-Url: https://git.babelmonkeys.de/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=jubjub.git Adapt to ObjFW changes --- diff --git a/src/gui/cli/JubCLIUI.m b/src/gui/cli/JubCLIUI.m index bcae480..6f1a49a 100644 --- a/src/gui/cli/JubCLIUI.m +++ b/src/gui/cli/JubCLIUI.m @@ -261,7 +261,7 @@ static void completionCallback(OFString *buf, OFList *lc) { completionData = self; - [[OFThread threadWithBlock: ^(void) { + [[OFThread threadWithThreadBlock: ^(void) { OFString *line; Linenoise *reader = [Linenoise sharedLinenoise]; reader.multiline = true; diff --git a/src/gui/gtk/JubGtkUI.m b/src/gui/gtk/JubGtkUI.m index 52e31e7..144a321 100644 --- a/src/gui/gtk/JubGtkUI.m +++ b/src/gui/gtk/JubGtkUI.m @@ -43,7 +43,7 @@ void on_roster_window_destroy(GObject *object, gpointer user_data) - (void)startUIThread { - [[OFThread threadWithBlock: ^(void){ + [[OFThread threadWithThreadBlock: ^(void){ gtk_main(); [OFApplication terminate];