[gnome-builder/wip/tintou/deduplicate-context] libide: remove `context` property from remaining interfaces implementing IdeObject
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/tintou/deduplicate-context] libide: remove `context` property from remaining interfaces implementing IdeObject
- Date: Thu, 8 Feb 2018 10:00:57 +0000 (UTC)
commit 40ef927bf09142b6fe2762165af061a114657cc1
Author: Corentin Noël <corentin noel collabora co uk>
Date: Thu Feb 8 09:57:48 2018 +0000
libide: remove `context` property from remaining interfaces implementing IdeObject
src/libide/highlighting/ide-highlighter.c | 7 -------
src/libide/vcs/ide-vcs.c | 7 -------
2 files changed, 14 deletions(-)
---
diff --git a/src/libide/highlighting/ide-highlighter.c b/src/libide/highlighting/ide-highlighter.c
index 6540971c9..462efe957 100644
--- a/src/libide/highlighting/ide-highlighter.c
+++ b/src/libide/highlighting/ide-highlighter.c
@@ -43,13 +43,6 @@ ide_highlighter_default_init (IdeHighlighterInterface *iface)
{
iface->update = ide_highlighter_real_update;
iface->set_engine = ide_highlighter_real_set_engine;
-
- g_object_interface_install_property (iface,
- g_param_spec_object ("context",
- "Context",
- "Context",
- IDE_TYPE_CONTEXT,
- (G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS)));
}
/**
diff --git a/src/libide/vcs/ide-vcs.c b/src/libide/vcs/ide-vcs.c
index f750512be..e9d88fc33 100644
--- a/src/libide/vcs/ide-vcs.c
+++ b/src/libide/vcs/ide-vcs.c
@@ -81,13 +81,6 @@ ide_vcs_default_init (IdeVcsInterface *iface)
iface->list_status_async = ide_vcs_real_list_status_async;
iface->list_status_finish = ide_vcs_real_list_status_finish;
- g_object_interface_install_property (iface,
- g_param_spec_object ("context",
- "Context",
- "Context",
- IDE_TYPE_CONTEXT,
- (G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS)));
-
g_object_interface_install_property (iface,
g_param_spec_string ("branch-name",
"Branch Name",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]