summaryrefslogtreecommitdiff
path: root/gtk/gtkimmulticontext.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-08-18 20:45:34 +0200
committerBenjamin Otte <otte@redhat.com>2015-08-20 14:42:04 +0200
commitc6219c913fc0b22fa9f729c52ebac2cc9f090121 (patch)
treef37900cda365f260113be3a1decf49b2ce3dd70c /gtk/gtkimmulticontext.c
parent8ed4e439e4c2aa317cfc0c4c651a46318c8ee1d6 (diff)
downloadgtk+-c6219c913fc0b22fa9f729c52ebac2cc9f090121.tar.gz
immodule: Remove unused parameter
Diffstat (limited to 'gtk/gtkimmulticontext.c')
-rw-r--r--gtk/gtkimmulticontext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 5ffb7e9223..a8700a8c66 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -251,7 +251,7 @@ get_effective_context_id (GtkIMMulticontext *multicontext)
return priv->context_id_aux;
if (!global_context_id)
- global_context_id = _gtk_im_module_get_default_context_id (priv->client_window);
+ global_context_id = _gtk_im_module_get_default_context_id ();
return global_context_id;
}
@@ -605,7 +605,7 @@ gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context,
GtkWidget *menuitem, *system_menuitem;
const char *system_context_id;
- system_context_id = _gtk_im_module_get_default_context_id (priv->client_window);
+ system_context_id = _gtk_im_module_get_default_context_id ();
system_menuitem = menuitem = gtk_radio_menu_item_new_with_label (group, C_("input method menu", "System"));
if (!priv->context_id_aux)
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menuitem), TRUE);