[gnome-builder/wip/gtk4-port] plugins/clang-format: port to GTK 4
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/clang-format: port to GTK 4
- Date: Wed, 6 Apr 2022 23:36:40 +0000 (UTC)
commit 3da0613245c79e5dcdc6d6bd89bc9b3f39d4f0b8
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 6 16:28:57 2022 -0700
plugins/clang-format: port to GTK 4
src/plugins/clang-format/gb-clang-format-buffer-addin.c | 5 ++---
src/plugins/meson.build | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/clang-format/gb-clang-format-buffer-addin.c
b/src/plugins/clang-format/gb-clang-format-buffer-addin.c
index 71a500f9a..ea62affe0 100644
--- a/src/plugins/clang-format/gb-clang-format-buffer-addin.c
+++ b/src/plugins/clang-format/gb-clang-format-buffer-addin.c
@@ -37,10 +37,9 @@ struct _GbClangFormatBufferAddin
static GSettings *settings;
static void
-scroll_page_to_insert (GtkWidget *widget,
- gpointer data)
+scroll_page_to_insert (IdePage *page,
+ gpointer data)
{
- IdePage *page = (IdePage *)widget;
IdeBuffer *buffer = data;
g_assert (IDE_IS_PAGE (page));
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index f753fe25e..36ffd0304 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -46,7 +46,7 @@ subdir('buffer-monitor')
subdir('cargo')
#subdir('clang')
subdir('clangd')
-#subdir('clang-format')
+subdir('clang-format')
#subdir('cmake')
#subdir('codespell')
#subdir('code-index')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]