[Tomoe-cvs 1372] CVS update: tomoe/recognizer

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
2006年 11月 29日 (水) 11:28:09 JST


Index: tomoe/recognizer/tomoe-recognizer-simple.c
diff -u tomoe/recognizer/tomoe-recognizer-simple.c:1.13 tomoe/recognizer/tomoe-recognizer-simple.c:1.14
--- tomoe/recognizer/tomoe-recognizer-simple.c:1.13	Wed Nov 29 11:08:38 2006
+++ tomoe/recognizer/tomoe-recognizer-simple.c	Wed Nov 29 11:28:09 2006
@@ -17,7 +17,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-recognizer-simple.c,v 1.13 2006/11/29 02:08:38 ikezoe Exp $
+ *  $Id: tomoe-recognizer-simple.c,v 1.14 2006/11/29 02:28:09 ikezoe Exp $
  */
 
 #include <stdlib.h>
@@ -103,15 +103,12 @@
 }
 
 G_MODULE_EXPORT GObject *
-TOMOE_RECOGNIZER_IMPL_INSTANTIATE (const gchar *first_property,...)
+TOMOE_RECOGNIZER_IMPL_INSTANTIATE (const gchar *first_property, va_list args)
 {
     GObject *object;
-    va_list var_args;
 
-    va_start (var_args, first_property);
     object = g_object_new_valist (TOMOE_TYPE_RECOGNIZER_SIMPLE, 
-                                  first_property, var_args);
-    va_end (var_args);
+                                  first_property, args);
 
     return object;
 }


tomoe-cvs メーリングリストの案内
Back to archive index