From 7951ca21de7ee7b815b15d4f171c32115a19d244 Mon Sep 17 00:00:00 2001 From: Todd Berman Date: Sat, 22 May 2004 18:02:49 +0000 Subject: [PATCH] 2004-05-22 Todd Berman * gnome/Program.custom: Change the Mono.Runtime stuff to reflect its new internal nature. This fixes MD, gnunit, and all gnome# programs that were blowing up for no reason. svn path=/trunk/gtk-sharp/; revision=27898 --- ChangeLog | 6 ++++++ gnome/Program.custom | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 11dd59196..aafabe4c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-05-22 Todd Berman + + * gnome/Program.custom: Change the Mono.Runtime stuff to reflect + its new internal nature. This fixes MD, gnunit, and all gnome# + programs that were blowing up for no reason. + 2004-05-22 Radek Doulik * gtk/TreeView.custom(GetPathAtPos): change Gtk.TreeViewColumn diff --git a/gnome/Program.custom b/gnome/Program.custom index e280b2d24..444b50cd4 100644 --- a/gnome/Program.custom +++ b/gnome/Program.custom @@ -61,7 +61,7 @@ public Program (string app_id, string app_version, ModuleInfo module, string[] a Type mono_runtime_type = Type.GetType ("Mono.Runtime"); if (mono_runtime_type != null){ object [] iargs = new object [0]; - System.Reflection.MethodInfo mi = mono_runtime_type.GetMethod ("InstallSignalHandlers"); + System.Reflection.MethodInfo mi = mono_runtime_type.GetMethod ("InstallSignalHandlers", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static); mi.Invoke (null, iargs); }