[gnome-builder/wip/gtk4-port: 329/343] libide/lsp: whitespace cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 329/343] libide/lsp: whitespace cleanup
- Date: Mon, 4 Apr 2022 20:02:24 +0000 (UTC)
commit 147ff835e40005b3d0ef2ab175302f75253075f5
Author: Christian Hergert <chergert redhat com>
Date: Sun Apr 3 15:56:38 2022 -0700
libide/lsp: whitespace cleanup
src/libide/lsp/ide-lsp-completion-results.c | 6 +++---
src/libide/lsp/ide-lsp-completion-results.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libide/lsp/ide-lsp-completion-results.c b/src/libide/lsp/ide-lsp-completion-results.c
index 2eef146eb..5a27a75ba 100644
--- a/src/libide/lsp/ide-lsp-completion-results.c
+++ b/src/libide/lsp/ide-lsp-completion-results.c
@@ -43,7 +43,7 @@ typedef struct
static void list_model_iface_init (GListModelInterface *iface);
G_DEFINE_FINAL_TYPE_WITH_CODE (IdeLspCompletionResults, ide_lsp_completion_results, G_TYPE_OBJECT,
- G_IMPLEMENT_INTERFACE (G_TYPE_LIST_MODEL, list_model_iface_init))
+ G_IMPLEMENT_INTERFACE (G_TYPE_LIST_MODEL, list_model_iface_init))
static void
ide_lsp_completion_results_finalize (GObject *object)
@@ -116,7 +116,7 @@ ide_lsp_completion_results_get_n_items (GListModel *model)
static gpointer
ide_lsp_completion_results_get_item (GListModel *model,
- guint position)
+ guint position)
{
IdeLspCompletionResults *self = (IdeLspCompletionResults *)model;
g_autoptr(GVariant) child = NULL;
@@ -148,7 +148,7 @@ compare_items (const Item *a,
void
ide_lsp_completion_results_refilter (IdeLspCompletionResults *self,
- const gchar *typed_text)
+ const char *typed_text)
{
g_autofree gchar *query = NULL;
GVariantIter iter;
diff --git a/src/libide/lsp/ide-lsp-completion-results.h b/src/libide/lsp/ide-lsp-completion-results.h
index 531e88d1a..b3621a823 100644
--- a/src/libide/lsp/ide-lsp-completion-results.h
+++ b/src/libide/lsp/ide-lsp-completion-results.h
@@ -37,6 +37,6 @@ IDE_AVAILABLE_IN_3_32
IdeLspCompletionResults *ide_lsp_completion_results_new (GVariant *results);
IDE_AVAILABLE_IN_3_32
void ide_lsp_completion_results_refilter (IdeLspCompletionResults *self,
- const gchar *typed_text);
+ const char *typed_text);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]