svn path=/trunk/; revision=21398
+2008-09-16 Matthias Clasen <mclasen@redhat.com>
+
+ Bug 552001 – gtkimcontextsimple.c: variable is declared at middle of
+ block
+
+ * gtk/gtkimcontextsimple.c: Fix a C99ism, pointed out by Kazuki
+ Iwamoto.
+
2008-09-13 Tor Lillqvist <tml@novell.com>
* gtk/gtkmain.c: Don't use the deprectated
*/
if (check_normalize_nfc (combination_buffer, n_compose))
{
+ gunichar value;
combination_utf8 = g_ucs4_to_utf8 (combination_buffer, -1, NULL, NULL, NULL);
nfc = g_utf8_normalize (combination_utf8, -1, G_NORMALIZE_NFC);
- gunichar value = g_utf8_get_char (nfc);
+ value = g_utf8_get_char (nfc);
gtk_im_context_simple_commit_char (GTK_IM_CONTEXT (context_simple), value);
context_simple->compose_buffer[0] = 0;