summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkimcontext.h')
-rw-r--r--gtk/gtkimcontext.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk/gtkimcontext.h b/gtk/gtkimcontext.h
index fee5cf2046..23c00f9809 100644
--- a/gtk/gtkimcontext.h
+++ b/gtk/gtkimcontext.h
@@ -57,8 +57,8 @@ struct _GtkIMContextClass
void (*commit) (GtkIMContext *context, const gchar *str);
gboolean (*retrieve_surrounding) (GtkIMContext *context);
gboolean (*delete_surrounding) (GtkIMContext *context,
- gint offset,
- gint n_chars);
+ int offset,
+ int n_chars);
/* Virtual functions */
void (*set_client_widget) (GtkIMContext *context,
@@ -66,7 +66,7 @@ struct _GtkIMContextClass
void (*get_preedit_string) (GtkIMContext *context,
gchar **str,
PangoAttrList **attrs,
- gint *cursor_pos);
+ int *cursor_pos);
gboolean (*filter_keypress) (GtkIMContext *context,
GdkEvent *event);
void (*focus_in) (GtkIMContext *context);
@@ -78,11 +78,11 @@ struct _GtkIMContextClass
gboolean use_preedit);
void (*set_surrounding) (GtkIMContext *context,
const gchar *text,
- gint len,
- gint cursor_index);
+ int len,
+ int cursor_index);
gboolean (*get_surrounding) (GtkIMContext *context,
gchar **text,
- gint *cursor_index);
+ int *cursor_index);
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
@@ -103,7 +103,7 @@ GDK_AVAILABLE_IN_ALL
void gtk_im_context_get_preedit_string (GtkIMContext *context,
gchar **str,
PangoAttrList **attrs,
- gint *cursor_pos);
+ int *cursor_pos);
GDK_AVAILABLE_IN_ALL
gboolean gtk_im_context_filter_keypress (GtkIMContext *context,
GdkEvent *event);
@@ -133,16 +133,16 @@ void gtk_im_context_set_use_preedit (GtkIMContext *context,
GDK_AVAILABLE_IN_ALL
void gtk_im_context_set_surrounding (GtkIMContext *context,
const gchar *text,
- gint len,
- gint cursor_index);
+ int len,
+ int cursor_index);
GDK_AVAILABLE_IN_ALL
gboolean gtk_im_context_get_surrounding (GtkIMContext *context,
gchar **text,
- gint *cursor_index);
+ int *cursor_index);
GDK_AVAILABLE_IN_ALL
gboolean gtk_im_context_delete_surrounding (GtkIMContext *context,
- gint offset,
- gint n_chars);
+ int offset,
+ int n_chars);
G_END_DECLS