]> git.babelmonkeys.de Git - jubjub.git/commitdiff
Adapt to ObjFW changes master
authorFlorian Zeitz <florob@babelmonkeys.de>
Mon, 1 Jul 2013 20:07:06 +0000 (22:07 +0200)
committerFlorian Zeitz <florob@babelmonkeys.de>
Mon, 1 Jul 2013 20:07:06 +0000 (22:07 +0200)
src/gui/cli/JubCLIUI.m
src/gui/gtk/JubGtkUI.m

index bcae48044ff354aec8d4dc68593bf161ea652f0c..6f1a49aa2a8f4daea013c273866f1dabe37c406a 100644 (file)
@@ -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;
index 52e31e73f235e2105606a4432b7c248c1dbdc22f..144a3215a6bb9b7a3139694e1542ddc28969f678 100644 (file)
@@ -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];