guru/dev-dotnet/gtk-sharp/files/gtk-sharp-2.99.3-fix-build.patch
Pascal Jäger 5a5dc9a166
dev-dotnet/gtk-sharp: new package, add 2.99.3-r2
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
2022-04-30 23:14:55 +02:00

23 lines
739 B
Diff

diff a/gtk/gui-thread-check/profiler/gui-thread-check.c b/gtk/gui-thread-check/profiler/gui-thread-check.c
--- a/gtk/gui-thread-check/profiler/gui-thread-check.c
+++ b/gtk/gui-thread-check/profiler/gui-thread-check.c
@@ -93,5 +93,5 @@
mono_profiler_install (NULL, NULL);
mono_profiler_install_enter_leave (simple_method_enter, NULL);
- mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE);
+ mono_profiler_set_events (1 << 12);
}
diff --git a/sample/test/TestRange.cs b/sample/test/TestRange.cs
index 35fc8a6dd..d44a77d85 100644
--- a/sample/test/TestRange.cs
+++ b/sample/test/TestRange.cs
@@ -9,5 +9,7 @@
using System;
using Gtk;
+// disambiguate, Gtk.Range vs System.Range
+using Range=Gtk.Range;
namespace WidgetViewer {