[gtksourceview/wip/chergert/vim] remove unused signals
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim] remove unused signals
- Date: Fri, 12 Nov 2021 01:07:12 +0000 (UTC)
commit fc3b25a1f92c26c93374a0e5399eb671c07b54df
Author: Christian Hergert <chergert redhat com>
Date: Thu Nov 11 16:59:10 2021 -0800
remove unused signals
gtksourceview/gtksourcevimimcontext.c | 50 -----------------------------------
1 file changed, 50 deletions(-)
---
diff --git a/gtksourceview/gtksourcevimimcontext.c b/gtksourceview/gtksourcevimimcontext.c
index 31253ece..141cd560 100644
--- a/gtksourceview/gtksourcevimimcontext.c
+++ b/gtksourceview/gtksourcevimimcontext.c
@@ -63,8 +63,6 @@ enum {
enum {
EXECUTE_COMMAND,
FORMAT_TEXT,
- DISCOVER_URI,
- LOAD_URI,
EDIT,
WRITE,
N_SIGNALS
@@ -408,54 +406,6 @@ gtk_source_vim_im_context_class_init (GtkSourceVimIMContextClass *klass)
GTK_TYPE_TEXT_ITER,
GTK_TYPE_TEXT_ITER);
- /**
- * GtkSourceVimIMContext::load-uri:
- * @self: a #GtkSourceVimIMContext
- * @uri: the URI of the buffer to load
- * @line: the line number to load, starting from 0
- * @line_offset: the offset within the line, starting from 0
- *
- * Requests that the application load the file @uri at @line and
- * @line_offset.
- *
- * Since: 5.4
- */
- signals[LOAD_URI] =
- g_signal_new ("load-uri",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST,
- 0,
- g_signal_accumulator_true_handled, NULL,
- NULL,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
- G_TYPE_UINT, G_TYPE_UINT);
-
- /**
- * GtkSourceVimIMContext::discover-uri:
- * @self: a #GtkSourceVimIMContext
- * @view: the loaded #GtkSourceView
- *
- * Requests the URI of the file loaded in @view. This is used when
- * generating jump history so that the user may move back and forth
- * during editing with Ctrl+I/Ctrl+0.
- *
- * Returns: A string containing the URI
- *
- * Since: 5.4
- */
- signals[DISCOVER_URI] =
- g_signal_new ("discover-uri",
- G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST,
- 0,
- g_signal_accumulator_first_wins, NULL,
- NULL,
- G_TYPE_STRING,
- 1,
- GTK_SOURCE_TYPE_VIEW);
-
/**
* GtkSourceVimIMContext::write:
* @self: a #GtkSourceVimIMContext
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]