Kouhei Sutou
kous****@users*****
2006年 11月 30日 (木) 15:27:19 JST
Index: tomoe/module/recognizer/tomoe-recognizer-simple.c diff -u tomoe/module/recognizer/tomoe-recognizer-simple.c:1.1 tomoe/module/recognizer/tomoe-recognizer-simple.c:1.2 --- tomoe/module/recognizer/tomoe-recognizer-simple.c:1.1 Wed Nov 29 15:49:39 2006 +++ tomoe/module/recognizer/tomoe-recognizer-simple.c Thu Nov 30 15:27:19 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.1 2006/11/29 06:49:39 makeinu Exp $ + * $Id: tomoe-recognizer-simple.c,v 1.2 2006/11/30 06:27:19 kous Exp $ */ #include <stdlib.h> @@ -104,14 +104,10 @@ } G_MODULE_EXPORT GObject * -TOMOE_MODULE_IMPL_INSTANTIATE (const gchar *first_property, va_list args) +TOMOE_MODULE_IMPL_INSTANTIATE (const gchar *first_property, va_list var_args) { - GObject *object; - - object = g_object_new_valist (TOMOE_TYPE_RECOGNIZER_SIMPLE, - first_property, args); - - return object; + return g_object_new_valist (TOMOE_TYPE_RECOGNIZER_SIMPLE, + first_property, var_args); } static GList *