[gnome-builder/wip/gtk4-port] libide/code: notify of language-id property
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] libide/code: notify of language-id property
- Date: Wed, 1 Jun 2022 23:23:04 +0000 (UTC)
commit dec88073d4b89399d94696c94b86a41ea5d33b6a
Author: Christian Hergert <chergert redhat com>
Date: Wed Jun 1 16:22:58 2022 -0700
libide/code: notify of language-id property
This was missing so the menu didn't get updated.
src/libide/code/ide-buffer.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/code/ide-buffer.c b/src/libide/code/ide-buffer.c
index 962589b70..899290472 100644
--- a/src/libide/code/ide-buffer.c
+++ b/src/libide/code/ide-buffer.c
@@ -491,6 +491,8 @@ ide_buffer_notify_language (IdeBuffer *self,
if (self->code_action_provider)
ide_extension_adapter_set_value (self->code_action_provider, lang_id);
+
+ g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_LANGUAGE_ID]);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]