[gnome-builder/document-manager] editor-frame: wire up to display-documentation signal
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/document-manager] editor-frame: wire up to display-documentation signal
- Date: Wed, 10 Dec 2014 04:59:36 +0000 (UTC)
commit 06d924b23eab37384316d346fac4cf053c48fb86
Author: Christian Hergert <christian hergert me>
Date: Tue Dec 9 20:48:12 2014 -0800
editor-frame: wire up to display-documentation signal
src/editor/gb-editor-frame.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/editor/gb-editor-frame.c b/src/editor/gb-editor-frame.c
index 2027a72..dbb1393 100644
--- a/src/editor/gb-editor-frame.c
+++ b/src/editor/gb-editor-frame.c
@@ -885,7 +885,7 @@ gb_editor_frame_on_command_toggled (GbEditorFrame *frame,
static void
gb_editor_frame_on_jump_to_doc (GbEditorFrame *frame,
const gchar *search_text,
- GbSourceVim *vim)
+ GbSourceView *source_view)
{
GbWorkbench *workbench;
GAction *action;
@@ -895,7 +895,7 @@ gb_editor_frame_on_jump_to_doc (GbEditorFrame *frame,
ENTRY;
g_return_if_fail (GB_IS_EDITOR_FRAME (frame));
- g_return_if_fail (GB_IS_SOURCE_VIM (vim));
+ g_return_if_fail (GB_IS_SOURCE_VIEW (source_view));
g_return_if_fail (search_text);
workbench = gb_widget_get_workbench (GTK_WIDGET (frame));
@@ -1088,8 +1088,9 @@ gb_editor_frame_constructed (GObject *object)
G_CALLBACK (gb_editor_frame_on_command_toggled),
frame,
G_CONNECT_SWAPPED);
- g_signal_connect_object (vim,
- "jump-to-doc",
+
+ g_signal_connect_object (priv->source_view,
+ "display-documentation",
G_CALLBACK (gb_editor_frame_on_jump_to_doc),
frame,
G_CONNECT_SWAPPED);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]