seed r476 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r476 - trunk/libseed
- Date: Mon, 15 Dec 2008 08:32:26 +0000 (UTC)
Author: racarr
Date: Mon Dec 15 08:32:26 2008
New Revision: 476
URL: http://svn.gnome.org/viewvc/seed?rev=476&view=rev
Log:
Using the old signal connection format is now an exception, everything
seems to have been updated...
Modified:
trunk/libseed/seed-signals.c
Modified: trunk/libseed/seed-signals.c
==============================================================================
--- trunk/libseed/seed-signals.c (original)
+++ trunk/libseed/seed-signals.c Mon Dec 15 08:32:26 2008
@@ -340,10 +340,10 @@
this_obj =
(JSObjectRef) seed_value_from_object(ctx, privates->object, exception);
- if ((argumentCount > 3) || (argumentCount == 0))
+ if ((argumentCount > 2) || (argumentCount == 0))
{
gchar *mes = g_strdup_printf("Signal connection expected"
- " 1, 2, or 3 arguments. Got "
+ " 1, or 2 arguments. Got "
"%d", argumentCount);
seed_make_exception(ctx, exception, "ArgumentError", mes);
@@ -365,11 +365,6 @@
this_obj,
(JSObjectRef) arguments[1]);
}
- if (argumentCount == 3)
- {
- seed_make_exception(ctx, exception, "ArgumentError",
- "Deprecated exception");
- }
return JSValueMakeNull(ctx);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]