seed r445 - trunk/libseed



Author: racarr
Date: Sun Dec 14 06:52:58 2008
New Revision: 445
URL: http://svn.gnome.org/viewvc/seed?rev=445&view=rev

Log:
Add notice of deprecated signal this usage.

Modified:
   trunk/libseed/seed-signals.c

Modified: trunk/libseed/seed-signals.c
==============================================================================
--- trunk/libseed/seed-signals.c	(original)
+++ trunk/libseed/seed-signals.c	Sun Dec 14 06:52:58 2008
@@ -353,17 +353,23 @@
 									(JSObjectRef) arguments[0], NULL, NULL);
 	
 	if (argumentCount == 2)
+	{
+		g_warning("Deprecated signal this usage");
 		seed_gobject_signal_connect(ctx, privates->signal_name,
 									privates->object,
 									(JSObjectRef) arguments[0],
 									(JSObjectRef) arguments[1], NULL);
+	}
 
 	if (argumentCount == 3)
+	{
+		g_warning("Deprecated signal this usage");
 		seed_gobject_signal_connect(ctx, privates->signal_name,
 									privates->object,
 									(JSObjectRef) arguments[0],
 									(JSObjectRef) arguments[1],
 									(JSObjectRef) arguments[2]);
+	}
 	
 	return 0;
 }



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