From d779b8ede01da5bab21e94ce0c5894abe84af971 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Mon, 1 Jul 2013 22:07:06 +0200 Subject: [PATCH] Adapt to ObjFW changes --- src/gui/cli/JubCLIUI.m | 2 +- src/gui/gtk/JubGtkUI.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.39.2