summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>1998-12-09 18:13:52 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-12-09 18:13:52 +0000
commitd3483d010ea37d31a13e2c4c515d99feeb6581a3 (patch)
tree18330e79df2d76279dca5695c76816fdf123620d
parentdfa88ef9c79f57580cbe77b21ca259e8530c70ec (diff)
downloadgdk-pixbuf-d3483d010ea37d31a13e2c4c515d99feeb6581a3.tar.gz
Fixed argument list and return type for non-XIM fallback.
Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument list and return type for non-XIM fallback. * configure.in: Only build XIM-support if available.
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-2-07
-rw-r--r--ChangeLog.pre-2-107
-rw-r--r--ChangeLog.pre-2-27
-rw-r--r--ChangeLog.pre-2-47
-rw-r--r--ChangeLog.pre-2-67
-rw-r--r--ChangeLog.pre-2-87
-rw-r--r--README.cvs-commits11
-rw-r--r--config.h.in3
-rw-r--r--configure.in17
-rw-r--r--gdk/gdkim.c16
-rw-r--r--gdk/x11/gdkim-x11.c16
12 files changed, 91 insertions, 21 deletions
diff --git a/ChangeLog b/ChangeLog
index d42a8ee05..effe3e29f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
+ list and return type for non-XIM fallback.
+
+ * configure.in: Only build XIM-support if available.
+
Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/testselection.c (main): Add in missing 'flags'
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index d42a8ee05..effe3e29f 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,10 @@
+Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
+ list and return type for non-XIM fallback.
+
+ * configure.in: Only build XIM-support if available.
+
Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/testselection.c (main): Add in missing 'flags'
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index d42a8ee05..effe3e29f 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,10 @@
+Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
+ list and return type for non-XIM fallback.
+
+ * configure.in: Only build XIM-support if available.
+
Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/testselection.c (main): Add in missing 'flags'
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index d42a8ee05..effe3e29f 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,10 @@
+Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
+ list and return type for non-XIM fallback.
+
+ * configure.in: Only build XIM-support if available.
+
Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/testselection.c (main): Add in missing 'flags'
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index d42a8ee05..effe3e29f 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,10 @@
+Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
+ list and return type for non-XIM fallback.
+
+ * configure.in: Only build XIM-support if available.
+
Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/testselection.c (main): Add in missing 'flags'
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index d42a8ee05..effe3e29f 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,10 @@
+Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
+ list and return type for non-XIM fallback.
+
+ * configure.in: Only build XIM-support if available.
+
Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/testselection.c (main): Add in missing 'flags'
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index d42a8ee05..effe3e29f 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,10 @@
+Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
+ list and return type for non-XIM fallback.
+
+ * configure.in: Only build XIM-support if available.
+
Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/testselection.c (main): Add in missing 'flags'
diff --git a/README.cvs-commits b/README.cvs-commits
index cc90ee981..12231d72b 100644
--- a/README.cvs-commits
+++ b/README.cvs-commits
@@ -43,6 +43,17 @@ Notes:
* If you are going to be changing many files in an experimental fashion,
it probably is a good idea to create a separate branch for your changes.
+* The ChangeLog entries should preferrably match in date format
+ with the existing entries. You can set how emacs does this
+ by using customize mode:
+
+ - M-x customize
+ - set Programming/Tools/ChangeLog/Add Log Time Format to
+ 'Old Format'
+
+ Or, set the add-log-time-format to 'current-time-string in
+ your .emacs file.
+
Owen Taylor
13 Aug 1998
diff --git a/config.h.in b/config.h.in
index 03bb8ec8b..364037f42 100644
--- a/config.h.in
+++ b/config.h.in
@@ -59,3 +59,6 @@
/* Define if you have the <wctype.h> header file. */
#undef HAVE_WCTYPE_H
+
+/* Define if you have the X11 library (-lX11). */
+#undef HAVE_LIBX11
diff --git a/configure.in b/configure.in
index 1c8f0494c..33aed8789 100644
--- a/configure.in
+++ b/configure.in
@@ -63,7 +63,7 @@ AC_ARG_ENABLE(ansi, [ --enable-ansi turn on strict ansi [default=no]]
, enable_ansi=no)
AC_ARG_WITH(glib, [ --with-glib=DIR Use uninstalled copy of glib])
AC_ARG_ENABLE(xim, [ --enable-xim support XIM [default=yes]],
- echo $enable_xim, enable_xim="yes")
+ , enable_xim="yes")
AC_ARG_WITH(locale, [ --with-locale=LOCALE locale name you want to use ])
AC_ARG_WITH(xinput, [ --with-xinput=[no/gxi/xfree] support XInput ])
@@ -163,10 +163,6 @@ AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
CFLAGS=$gtk_save_CFLAGS
AC_MSG_WARN([Could not determine POSIX flag. (-posix didn't work.)])))
-if test "x$enable_xim" = "xyes"; then
- GTK_XIM_FLAGS="-DUSE_XIM"
-fi
-
if test x$with_glib = xyes ; then
AC_MSG_ERROR([
*** Directory must be specified for --with-glib])
@@ -273,6 +269,17 @@ AC_CHECK_LIB(X11, XConvertCase,
,
$x_libs)
+# Check for XIM support.
+
+AC_CHECK_LIB(X11, XUnregisterIMInstantiateCallback,
+ ,
+ enable_xim=no,
+ $x_libs)
+
+if test "x$enable_xim" = "xyes"; then
+ GTK_XIM_FLAGS="-DUSE_XIM"
+fi
+
x_cflags="$X_CFLAGS"
x_ldflags="$X_LDFLAGS $X_LIBS"
diff --git a/gdk/gdkim.c b/gdk/gdkim.c
index 235cc5e8d..b12aebd9d 100644
--- a/gdk/gdkim.c
+++ b/gdk/gdkim.c
@@ -1317,10 +1317,8 @@ gdk_im_ready (void)
return FALSE;
}
-GdkIC
-gdk_ic_new (GdkWindow* client_window,
- GdkWindow* focus_window,
- GdkIMStyle style, ...)
+GdkIC *
+gdk_ic_new (GdkICAttr *attr, GdkICAttributesType mask)
{
return NULL;
}
@@ -1346,14 +1344,16 @@ gdk_ic_get_values (GdkIC *ic, ...)
{
}
-void
-gdk_ic_set_attr (GdkIC *ic, const char *target, ...)
+GdkICAttributesType
+gdk_ic_set_attr (GdkIC *ic, GdkICAttr *attr, GdkICAttributesType mask)
{
+ return 0;
}
-void
-gdk_ic_get_attr (GdkIC *ic, const char *target, ...)
+GdkICAttributesType
+gdk_ic_get_attr (GdkIC *ic, GdkICAttr *attr, GdkICAttributesType mask)
{
+ return 0;
}
GdkEventMask
diff --git a/gdk/x11/gdkim-x11.c b/gdk/x11/gdkim-x11.c
index 235cc5e8d..b12aebd9d 100644
--- a/gdk/x11/gdkim-x11.c
+++ b/gdk/x11/gdkim-x11.c
@@ -1317,10 +1317,8 @@ gdk_im_ready (void)
return FALSE;
}
-GdkIC
-gdk_ic_new (GdkWindow* client_window,
- GdkWindow* focus_window,
- GdkIMStyle style, ...)
+GdkIC *
+gdk_ic_new (GdkICAttr *attr, GdkICAttributesType mask)
{
return NULL;
}
@@ -1346,14 +1344,16 @@ gdk_ic_get_values (GdkIC *ic, ...)
{
}
-void
-gdk_ic_set_attr (GdkIC *ic, const char *target, ...)
+GdkICAttributesType
+gdk_ic_set_attr (GdkIC *ic, GdkICAttr *attr, GdkICAttributesType mask)
{
+ return 0;
}
-void
-gdk_ic_get_attr (GdkIC *ic, const char *target, ...)
+GdkICAttributesType
+gdk_ic_get_attr (GdkIC *ic, GdkICAttr *attr, GdkICAttributesType mask)
{
+ return 0;
}
GdkEventMask