[gnome-builder] libide: remove `context` property from remaining interfaces implementing IdeObject



commit e2ab2f2ffe942a4d4bf81db753f450a6e78d090d
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]