gtk+ r21398 - in trunk: . gtk



Author: matthiasc
Date: Tue Sep 16 04:44:12 2008
New Revision: 21398
URL: http://svn.gnome.org/viewvc/gtk+?rev=21398&view=rev

Log:
Fix a C99ism


Modified:
   trunk/ChangeLog
   trunk/gtk/gtkimcontextsimple.c

Modified: trunk/gtk/gtkimcontextsimple.c
==============================================================================
--- trunk/gtk/gtkimcontextsimple.c	(original)
+++ trunk/gtk/gtkimcontextsimple.c	Tue Sep 16 04:44:12 2008
@@ -485,10 +485,11 @@
        */
       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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]