dev-dotnet/gtk-sharp: new package, add 2.99.3-r2

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger
2022-04-30 23:14:27 +02:00
parent 7ef4458286
commit 5a5dc9a166
3 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
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 {