--- gtk/gtkimcontextsimple.c.ORIGINAL	2008-11-26 06:17:50.000000000 +0000
+++ gtk/gtkimcontextsimple.c	2008-11-26 07:04:47.000000000 +0000
@@ -53,7 +53,7 @@
  */
 #include "gtkimcontextsimpleseqs.h"
 
-/* From the values below, the value 22 means the number of different first keysyms 
+/* From the values below, the value 23 means the number of different first keysyms 
  * that exist in the Compose file (from Xorg). When running compose-parse.py without 
  * parameters, you get the count that you can put here. Needed when updating the
  * gtkimcontextsimpleseqs.h header file (contains the compose sequences).
@@ -61,7 +61,7 @@
 static const GtkComposeTableCompact gtk_compose_table_compact = {
   gtk_compose_seqs_compact,
   5,
-  22,
+  23,
   6
 };
 
@@ -415,7 +415,7 @@
  * In future versions it will be just the keysym (no +1).
  */
 #define IS_DEAD_KEY(k) \
-    ((k) >= GDK_dead_grave && (k) <= (GDK_dead_dasia+1))
+    ((k) >= GDK_dead_stroke && (k) <= (GDK_dead_dasia+1))
 
 static gboolean
 check_algorithmically (GtkIMContextSimple    *context_simple,
@@ -464,6 +464,7 @@
 	    CASE (belowdot, 0x0323);
 	    CASE (cedilla, 0x0327);
 	    CASE (ogonek, 0x0328);	/* Legacy use for dasia, 0x314.*/
+	    CASE (accentdieresis, 0x0344)
 	    CASE (iota, 0x0345);
 	    CASE (voiced_sound, 0x3099);	/* Per Markus Kuhn keysyms.txt file. */
 	    CASE (semivoiced_sound, 0x309A);	/* Per Markus Kuhn keysyms.txt file. */
