summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/input/gtkimcontextxim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c
index 030440270b..220a04a8f2 100644
--- a/modules/input/gtkimcontextxim.c
+++ b/modules/input/gtkimcontextxim.c
@@ -810,7 +810,7 @@ gtk_im_context_xim_set_cursor_location (GtkIMContext *context,
preedit_attr = XVaCreateNestedList (0,
XNSpotLocation, &spot,
- 0);
+ NULL);
XSetICValues (ic,
XNPreeditAttributes, preedit_attr,
NULL);
@@ -857,7 +857,7 @@ gtk_im_context_xim_reset (GtkIMContext *context)
preedit_attr = XVaCreateNestedList(0,
XNPreeditState, &preedit_state,
- 0);
+ NULL);
if (!XGetICValues(ic,
XNPreeditAttributes, preedit_attr,
NULL))
@@ -869,7 +869,7 @@ gtk_im_context_xim_reset (GtkIMContext *context)
preedit_attr = XVaCreateNestedList(0,
XNPreeditState, preedit_state,
- 0);
+ NULL);
if (have_preedit_state)
XSetICValues(ic,
XNPreeditAttributes, preedit_attr,