summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontext.c
diff options
context:
space:
mode:
authorHideToshi Tajima <tajima@happy>2001-03-16 01:44:54 +0000
committerHidetoshi Tajima <tajima@src.gnome.org>2001-03-16 01:44:54 +0000
commitdf726ee8889e975ad4ee3143e0e8462c775244a1 (patch)
tree8e200ffc98f89c509922a531921108cb9489360f /gtk/gtkimcontext.c
parente4d1660042a437b041422ac442ee4845fbf7e6b6 (diff)
downloadgtk+-df726ee8889e975ad4ee3143e0e8462c775244a1.tar.gz
rename set_cursor_pos to set_cursor_location in GtkInputContext class
2001-03-15 HideToshi Tajima <tajima@happy> * modules/input/gtkimcontextxim.c (gtk_im_context_xim_set_cursor_locat ion): * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_location): * gtk/gtkentry.c (update_im_cursor_location): * gtk/gtkimcontext.c (gtk_im_context_set_cursor_location): * gtk/gtkimcontext.h (struct _GtkIMContextClass): rename set_cursor_pos to set_cursor_location in GtkInputContext class
Diffstat (limited to 'gtk/gtkimcontext.c')
-rw-r--r--gtk/gtkimcontext.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c
index bbb858d744..3e4e3c8439 100644
--- a/gtk/gtkimcontext.c
+++ b/gtk/gtkimcontext.c
@@ -285,15 +285,15 @@ gtk_im_context_reset (GtkIMContext *context)
/**
- * gtk_im_context_set_cursor_pos:
+ * gtk_im_context_set_cursor_location:
* @context: a #GtkIMContext
*
* Notify the input method that a change in cursor
* position has been made.
**/
void
-gtk_im_context_set_cursor_pos (GtkIMContext *context,
- GdkRectangle *area)
+gtk_im_context_set_cursor_location (GtkIMContext *context,
+ GdkRectangle *area)
{
GtkIMContextClass *klass;
@@ -301,7 +301,7 @@ gtk_im_context_set_cursor_pos (GtkIMContext *context,
g_return_if_fail (GTK_IS_IM_CONTEXT (context));
klass = GTK_IM_CONTEXT_GET_CLASS (context);
- if (klass->set_cursor_pos)
- klass->set_cursor_pos (context, area);
+ if (klass->set_cursor_location)
+ klass->set_cursor_location (context, area);
}