* glib/Object.cs (ConnectDefaultHandlers): Don't call a signal's

ConnectionMethod if it's already been called for a superclass of
	the current class. #71278

svn path=/trunk/gtk-sharp/; revision=38957
This commit is contained in:
Dan Winship 2005-01-14 19:54:07 +00:00
parent 4c65a4618f
commit 7a30d17a4d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-01-14 Dan Winship <danw@novell.com>
* glib/Object.cs (ConnectDefaultHandlers): Don't call a signal's
ConnectionMethod if it's already been called for a superclass of
the current class. #71278
2005-01-13 Zac Bowling <zac@zacbowling.com>
* makefile.win32 : new "gac" target for automatic for gacutil calls,

View File

@ -122,7 +122,7 @@ namespace GLib {
if (baseinfo == minfo)
continue;
foreach (object attr in baseinfo.GetCustomAttributes (typeof (DefaultSignalHandlerAttribute), true)) {
foreach (object attr in baseinfo.GetCustomAttributes (typeof (DefaultSignalHandlerAttribute), false)) {
DefaultSignalHandlerAttribute sigattr = attr as DefaultSignalHandlerAttribute;
MethodInfo connector = sigattr.Type.GetMethod (sigattr.ConnectionMethod, BindingFlags.Static | BindingFlags.NonPublic);
object[] parms = new object [1];