mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-06-21 11:17:56 +00:00
2009-10-30 Mike Kestner <mkestner@novell.com>
* glib/GType.cs: avoid another exception on bogus assm.Locations. [Fixes #546045] svn path=/trunk/gtk-sharp/; revision=145132
This commit is contained in:
parent
df7e0afe5c
commit
95bd0d6271
|
@ -1,3 +1,8 @@
|
||||||
|
2009-10-30 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* glib/GType.cs: avoid another exception on bogus assm.Locations.
|
||||||
|
[Fixes #546045]
|
||||||
|
|
||||||
2009-09-24 Christian Hoff <christian_hoff@gmx.net>
|
2009-09-24 Christian Hoff <christian_hoff@gmx.net>
|
||||||
|
|
||||||
* gtk/Widget.custom: Use Glib.Value's GType.Long support.
|
* gtk/Widget.custom: Use Glib.Value's GType.Long support.
|
||||||
|
|
|
@ -230,8 +230,8 @@ namespace GLib {
|
||||||
foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) {
|
foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) {
|
||||||
if (ref_name.Name != asm_name)
|
if (ref_name.Name != asm_name)
|
||||||
continue;
|
continue;
|
||||||
string asm_dir = Path.GetDirectoryName (asm.Location);
|
|
||||||
try {
|
try {
|
||||||
|
string asm_dir = Path.GetDirectoryName (asm.Location);
|
||||||
Assembly ref_asm;
|
Assembly ref_asm;
|
||||||
if (File.Exists (Path.Combine (asm_dir, ref_name.Name + ".dll")))
|
if (File.Exists (Path.Combine (asm_dir, ref_name.Name + ".dll")))
|
||||||
ref_asm = Assembly.LoadFrom (Path.Combine (asm_dir, ref_name.Name + ".dll"));
|
ref_asm = Assembly.LoadFrom (Path.Combine (asm_dir, ref_name.Name + ".dll"));
|
||||||
|
|
Loading…
Reference in a new issue