diff options
author | Manish Singh <yosh@src.gnome.org> | 1999-05-04 18:18:06 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 1999-05-04 18:18:06 +0000 |
commit | 197950e184b38e4c90117162894e7eb1e07efc32 (patch) | |
tree | 1abe335d7f0b2860f3d11ff7aced39a97a8e4f73 | |
parent | bbf7b3a60fe7c7fce91625d2c40024b1dc1d3591 (diff) | |
download | gdk-pixbuf-197950e184b38e4c90117162894e7eb1e07efc32.tar.gz |
cast the return value of XSetIMValues to (void *) when comparing to NULL,
* gdk/gdkim.c (gdk_im_real_open): cast the return value of
XSetIMValues to (void *) when comparing to NULL, to workaround
the problem of some compilers barfing since older X headers don't
have the prototype for it.
-Yosh
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 7 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 7 | ||||
-rw-r--r-- | gdk/gdkim.c | 2 | ||||
-rw-r--r-- | gdk/x11/gdkim-x11.c | 2 |
9 files changed, 51 insertions, 2 deletions
@@ -1,3 +1,10 @@ +Tue May 4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org> + + * gdk/gdkim.c (gdk_im_real_open): cast the return value of + XSetIMValues to (void *) when comparing to NULL, to workaround + the problem of some compilers barfing since older X headers don't + have the prototype for it. + Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 22b6a36b8..b9b3b8a24 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +Tue May 4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org> + + * gdk/gdkim.c (gdk_im_real_open): cast the return value of + XSetIMValues to (void *) when comparing to NULL, to workaround + the problem of some compilers barfing since older X headers don't + have the prototype for it. + Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 22b6a36b8..b9b3b8a24 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Tue May 4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org> + + * gdk/gdkim.c (gdk_im_real_open): cast the return value of + XSetIMValues to (void *) when comparing to NULL, to workaround + the problem of some compilers barfing since older X headers don't + have the prototype for it. + Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 22b6a36b8..b9b3b8a24 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +Tue May 4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org> + + * gdk/gdkim.c (gdk_im_real_open): cast the return value of + XSetIMValues to (void *) when comparing to NULL, to workaround + the problem of some compilers barfing since older X headers don't + have the prototype for it. + Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 22b6a36b8..b9b3b8a24 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +Tue May 4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org> + + * gdk/gdkim.c (gdk_im_real_open): cast the return value of + XSetIMValues to (void *) when comparing to NULL, to workaround + the problem of some compilers barfing since older X headers don't + have the prototype for it. + Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 22b6a36b8..b9b3b8a24 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Tue May 4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org> + + * gdk/gdkim.c (gdk_im_real_open): cast the return value of + XSetIMValues to (void *) when comparing to NULL, to workaround + the problem of some compilers barfing since older X headers don't + have the prototype for it. + Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 22b6a36b8..b9b3b8a24 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Tue May 4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org> + + * gdk/gdkim.c (gdk_im_real_open): cast the return value of + XSetIMValues to (void *) when comparing to NULL, to workaround + the problem of some compilers barfing since older X headers don't + have the prototype for it. + Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc diff --git a/gdk/gdkim.c b/gdk/gdkim.c index ba0a434eb..096cf24db 100644 --- a/gdk/gdkim.c +++ b/gdk/gdkim.c @@ -386,7 +386,7 @@ gdk_im_real_open (void) destroy_cb.callback = gdk_im_destroy_cb; destroy_cb.client_data = NULL; - if (NULL != XSetIMValues (xim_im, XNDestroyCallback, &destroy_cb, NULL)) + if (NULL != (void *) XSetIMValues (xim_im, XNDestroyCallback, &destroy_cb, NULL)) GDK_NOTE (XIM, g_warning ("Could not set destroy callback to IM. Be careful to not destroy your input method.")); #endif diff --git a/gdk/x11/gdkim-x11.c b/gdk/x11/gdkim-x11.c index ba0a434eb..096cf24db 100644 --- a/gdk/x11/gdkim-x11.c +++ b/gdk/x11/gdkim-x11.c @@ -386,7 +386,7 @@ gdk_im_real_open (void) destroy_cb.callback = gdk_im_destroy_cb; destroy_cb.client_data = NULL; - if (NULL != XSetIMValues (xim_im, XNDestroyCallback, &destroy_cb, NULL)) + if (NULL != (void *) XSetIMValues (xim_im, XNDestroyCallback, &destroy_cb, NULL)) GDK_NOTE (XIM, g_warning ("Could not set destroy callback to IM. Be careful to not destroy your input method.")); #endif |