Browse Source
Resolve g_application_id_is_valid Gtk3 warning
pull/2006/head
nopara73
8 years ago
No known key found for this signature in database
GPG Key ID: B4B72266C47E075E
1 changed files with
1 additions and
1 deletions
-
src/Gtk/Avalonia.Gtk3/Gtk3Platform.cs
|
|
|
@ -66,7 +66,7 @@ namespace Avalonia.Gtk3 |
|
|
|
DisplayClassName = |
|
|
|
Utf8Buffer.StringFromPtr(Native.GTypeName(Marshal.ReadIntPtr(Marshal.ReadIntPtr(disp)))); |
|
|
|
|
|
|
|
using (var utf = new Utf8Buffer("avalonia.app." + Guid.NewGuid())) |
|
|
|
using (var utf = new Utf8Buffer($"avalonia.app.a{Guid.NewGuid().ToString("N")}")) |
|
|
|
App = Native.GtkApplicationNew(utf, 0); |
|
|
|
//Mark current thread as UI thread
|
|
|
|
s_tlsMarker = true; |
|
|
|
|