[Goodies-commits] r1865 - xfce4-clipman-plugin/trunk/panel-plugin

Nick Schermer nick at xfce.org
Tue Aug 8 19:21:54 CEST 2006


Author: nick
Date: 2006-08-08 17:21:54 +0000 (Tue, 08 Aug 2006)
New Revision: 1865

Modified:
   xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
Log:
* Fix compiler warning


Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman.c	2006-08-08 16:29:28 UTC (rev 1864)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman.c	2006-08-08 17:21:54 UTC (rev 1865)
@@ -124,7 +124,7 @@
 	return NULL;
     }
 
-    if (!g_utf8_validate (s, -1, &t))
+    if (!g_utf8_validate (s, -1, (const gchar **)&t))
     {
         /* Invalid char at/past length*8 & encoding is UTF-8? Get rid of it. */
         if (t >= s + length * 8 && g_get_charset ((const gchar **)&u))




More information about the Goodies-commits mailing list