[gnome-builder/wip/chergert/hover] sourceview: remove documentation-requested
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/hover] sourceview: remove documentation-requested
- Date: Tue, 17 Jul 2018 00:13:35 +0000 (UTC)
commit afe47d5899865e8395f28f512fe52a22743ac268
Author: Christian Hergert <chergert redhat com>
Date: Mon Jul 16 17:01:01 2018 -0700
sourceview: remove documentation-requested
We'll use hover providers for this going forward.
src/libide/sourceview/ide-source-view.c | 15 ----
.../devhelp/gbp-devhelp-editor-view-addin.c | 97 ----------------------
.../devhelp/gbp-devhelp-editor-view-addin.h | 29 -------
src/plugins/devhelp/gbp-devhelp-plugin.c | 4 -
src/plugins/devhelp/meson.build | 1 -
5 files changed, 146 deletions(-)
---
diff --git a/src/libide/sourceview/ide-source-view.c b/src/libide/sourceview/ide-source-view.c
index 54db12ada..fc2811523 100644
--- a/src/libide/sourceview/ide-source-view.c
+++ b/src/libide/sourceview/ide-source-view.c
@@ -5916,21 +5916,6 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
1,
GTK_TYPE_DIRECTION_TYPE);
- /**
- * IdeSourceView:documentation-requested:
- * @self: an #IdeSourceView
- * @word: the word that was requested
- *
- * This is emitted by the default request-documentation handler to
- * locate the documentation for the currently selected word.
- */
- signals [DOCUMENTATION_REQUESTED] =
- g_signal_new ("documentation-requested",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST,
- 0, NULL, NULL, NULL,
- G_TYPE_NONE, 1, G_TYPE_STRING);
-
signals [DECREASE_FONT_SIZE] =
g_signal_new ("decrease-font-size",
G_TYPE_FROM_CLASS (klass),
diff --git a/src/plugins/devhelp/gbp-devhelp-plugin.c b/src/plugins/devhelp/gbp-devhelp-plugin.c
index 12b34fc32..733162d24 100644
--- a/src/plugins/devhelp/gbp-devhelp-plugin.c
+++ b/src/plugins/devhelp/gbp-devhelp-plugin.c
@@ -20,7 +20,6 @@
#include <libpeas/peas.h>
#include "gbp-devhelp-editor-addin.h"
-#include "gbp-devhelp-editor-view-addin.h"
#include "gbp-devhelp-hover-provider.h"
#include "gbp-devhelp-layout-stack-addin.h"
@@ -30,9 +29,6 @@ gbp_devhelp_register_types (PeasObjectModule *module)
peas_object_module_register_extension_type (module,
IDE_TYPE_EDITOR_ADDIN,
GBP_TYPE_DEVHELP_EDITOR_ADDIN);
- peas_object_module_register_extension_type (module,
- IDE_TYPE_EDITOR_VIEW_ADDIN,
- GBP_TYPE_DEVHELP_EDITOR_VIEW_ADDIN);
peas_object_module_register_extension_type (module,
IDE_TYPE_HOVER_PROVIDER,
GBP_TYPE_DEVHELP_HOVER_PROVIDER);
diff --git a/src/plugins/devhelp/meson.build b/src/plugins/devhelp/meson.build
index f61b0f73a..b07e9f952 100644
--- a/src/plugins/devhelp/meson.build
+++ b/src/plugins/devhelp/meson.build
@@ -11,7 +11,6 @@ devhelp_sources = [
'gbp-devhelp-hover-provider.c',
'gbp-devhelp-layout-stack-addin.c',
'gbp-devhelp-editor-addin.c',
- 'gbp-devhelp-editor-view-addin.c',
'gbp-devhelp-plugin.c',
'gbp-devhelp-search.c',
'gbp-devhelp-view.c',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]