diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-01-31 19:56:01 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-01-31 19:56:01 +0000 |
commit | 4594c980b0e1c2cae6d48f3302e4b0b8060d6ae4 (patch) | |
tree | 0deb2bc0250060ff66d37b6add54169158597481 /modules | |
parent | 136cbb50ac2fa1b83f3676c352a794fddbe2a352 (diff) | |
download | gtk+-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.c | 6 |
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, |