summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-01-31 19:56:01 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-01-31 19:56:01 +0000
commit4594c980b0e1c2cae6d48f3302e4b0b8060d6ae4 (patch)
tree0deb2bc0250060ff66d37b6add54169158597481 /modules
parent136cbb50ac2fa1b83f3676c352a794fddbe2a352 (diff)
downloadgtk+-4594c980b0e1c2cae6d48f3302e4b0b8060d6ae4.tar.gz
Use NULL, not 0 to terminate NULL-terminated va lists. (#165683)
2005-01-31 Matthias Clasen <mclasen@redhat.com> * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate NULL-terminated va lists. (#165683)
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,