]> git.babelmonkeys.de Git - jubjub.git/commitdiff
JubGtkChat: Refer to the correct version of the close and send blocks
authorFlorian Zeitz <florob@babelmonkeys.de>
Mon, 18 Feb 2013 21:00:54 +0000 (22:00 +0100)
committerFlorian Zeitz <florob@babelmonkeys.de>
Mon, 18 Feb 2013 21:00:54 +0000 (22:00 +0100)
src/gui/gtk/JubGtkChatUI.m

index bf130a9879f42c17a56bb75a3e099f38045b3000..c4e55054b4879d8b42c217fa9909b99d4d4ba1e6 100644 (file)
@@ -55,7 +55,7 @@ static void call_close_block(GtkWidget *object, gpointer data)
                        chat_window = GTK_WIDGET(
                            gtk_builder_get_object(builder, "ChatWindow"));
                        g_signal_connect(chat_window, "destroy",
-                           G_CALLBACK(call_close_block), closeBlock);
+                           G_CALLBACK(call_close_block), _closeBlock);
 
                        _chat_view = GTK_TEXT_VIEW(
                            gtk_builder_get_object(builder, "ChatTextView"));
@@ -67,7 +67,7 @@ static void call_close_block(GtkWidget *object, gpointer data)
                            gtk_builder_get_object(builder, "ChatEntry"));
                        struct call_send_block_params *send_params =
                            [self allocMemoryWithSize: sizeof(*send_params)];
-                       send_params->block = sendBlock;
+                       send_params->block = _sendBlock;
                        send_params->chat = self;
                        g_signal_connect(chat_entry, "activate",
                            G_CALLBACK(call_send_block), send_params);