diff options
author | Michael Natterer <mitch@imendio.com> | 2008-01-25 09:30:40 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-01-25 09:30:40 +0000 |
commit | a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646 (patch) | |
tree | b998c156b64284b009afcdf02107db6f03a1230e /gtk/gtkimcontext.c | |
parent | 594b710214c1e6bfe4724d01b49c0a1cb76b8568 (diff) | |
download | gtk+-a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646.tar.gz |
gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h
2008-01-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.h
* gtk/gtkcellrenderer.h
* gtk/gtkimcontext.h
* gtk/gtkstyle.h
* gtk/gtktoolbar.h
* gtk/gtktooltip.h
* gtk/gtktreeprivate.h
* gtk/gtktreeviewcolumn.h
* gtk/gtkwidget.h: add const to constant structs which are passed
into GTK+. Also add some forgotten const for const strings.
* gtk/gtkbutton.c
* gtk/gtkcellrenderer.c
* gtk/gtkimcontext.c
* gtk/gtkstyle.c
* gtk/gtktoolbar.c
* gtk/gtktooltip.c
* gtk/gtktreeview.c
* gtk/gtktreeviewcolumn.c
* gtk/gtkwidget.c: changed accordingly.
svn path=/trunk/; revision=19399
Diffstat (limited to 'gtk/gtkimcontext.c')
-rw-r--r-- | gtk/gtkimcontext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c index 6b45160491..b8e9978ed3 100644 --- a/gtk/gtkimcontext.c +++ b/gtk/gtkimcontext.c @@ -361,8 +361,8 @@ gtk_im_context_reset (GtkIMContext *context) * window. **/ void -gtk_im_context_set_cursor_location (GtkIMContext *context, - GdkRectangle *area) +gtk_im_context_set_cursor_location (GtkIMContext *context, + const GdkRectangle *area) { GtkIMContextClass *klass; @@ -370,7 +370,7 @@ gtk_im_context_set_cursor_location (GtkIMContext *context, klass = GTK_IM_CONTEXT_GET_CLASS (context); if (klass->set_cursor_location) - klass->set_cursor_location (context, area); + klass->set_cursor_location (context, (GdkRectangle *) area); } /** |