[gnome-builder/wip/gtk4-port: 495/736] plugins/rust-analyzer: fix callback signature
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 495/736] plugins/rust-analyzer: fix callback signature
- Date: Tue, 26 Apr 2022 01:46:28 +0000 (UTC)
commit 4d39c8cefea281c00735d5a855ff1394d3fec75c
Author: Christian Hergert <chergert redhat com>
Date: Thu Apr 7 10:58:11 2022 -0700
plugins/rust-analyzer: fix callback signature
src/plugins/rust-analyzer/rust-analyzer-pipeline-addin.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/rust-analyzer/rust-analyzer-pipeline-addin.c
b/src/plugins/rust-analyzer/rust-analyzer-pipeline-addin.c
index 099c5a46e..f7f18c390 100644
--- a/src/plugins/rust-analyzer/rust-analyzer-pipeline-addin.c
+++ b/src/plugins/rust-analyzer/rust-analyzer-pipeline-addin.c
@@ -98,10 +98,9 @@ find_cargo_toml_from_file (GFile *file)
}
static void
-rust_analyzer_pipeline_addin_discover_workdir_cb (GtkWidget *widget,
- gpointer user_data)
+rust_analyzer_pipeline_addin_discover_workdir_cb (IdePage *page,
+ gpointer user_data)
{
- IdePage *page = (IdePage *)widget;
GFile **workdir = user_data;
g_autoptr(GFile) file = NULL;
g_autoptr(GFile) cargo_toml = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]