[vte/vte-next] widget: Remove vte_view_im_append_menuitems
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next] widget: Remove vte_view_im_append_menuitems
- Date: Sat, 8 Jun 2013 11:46:38 +0000 (UTC)
commit 20310803f43337f852a208843480d6d815d202f7
Author: Christian Persch <chpe gnome org>
Date: Sat Jun 8 13:41:23 2013 +0200
widget: Remove vte_view_im_append_menuitems
doc/reference/vte-sections.txt | 1 -
src/vte.c | 20 --------------------
src/vteview.h | 4 ----
3 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/doc/reference/vte-sections.txt b/doc/reference/vte-sections.txt
index 9f72600..0a53e35 100644
--- a/doc/reference/vte-sections.txt
+++ b/doc/reference/vte-sections.txt
@@ -11,7 +11,6 @@ VteSelectionFunc
vte_view_new
vte_view_set_buffer
vte_view_get_buffer
-vte_view_im_append_menuitems
vte_view_select_all
vte_view_unselect_all
vte_view_copy_clipboard
diff --git a/src/vte.c b/src/vte.c
index 344970c..8059bee 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -11619,26 +11619,6 @@ vte_view_paste_clipboard(VteView *terminal,
}
/**
- * vte_view_im_append_menuitems:
- * @terminal: a #VteView
- * @menushell: a GtkMenuShell
- *
- * Appends menu items for various input methods to the given menu. The
- * user can select one of these items to modify the input method used by
- * the terminal.
- */
-void
-vte_view_im_append_menuitems(VteView *terminal, GtkMenuShell *menushell)
-{
- GtkIMMulticontext *context;
- g_return_if_fail(VTE_IS_VIEW(terminal));
- g_return_if_fail (gtk_widget_get_realized (&terminal->widget));
- g_return_if_fail(GTK_IS_MENU_SHELL(menushell));
- context = GTK_IM_MULTICONTEXT(terminal->pvt->im_context);
- gtk_im_multicontext_append_menuitems(context, menushell);
-}
-
-/**
* vte_view_get_has_selection:
* @terminal: a #VteView
*
diff --git a/src/vteview.h b/src/vteview.h
index d46ae17..17b8ce3 100644
--- a/src/vteview.h
+++ b/src/vteview.h
@@ -119,10 +119,6 @@ void vte_view_set_scroll_on_output(VteView *terminal, gboolean scroll);
void vte_view_set_scroll_on_keystroke(VteView *terminal,
gboolean scroll);
-/* Append the input method menu items to a given shell. */
-void vte_view_im_append_menuitems(VteView *terminal,
- GtkMenuShell *menushell);
-
/* Check if the terminal is the current selection owner. */
gboolean vte_view_get_has_selection(VteView *terminal);
gboolean vte_view_get_selection_bounds(VteView *terminal,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]