GtkSharp/Source/Samples
zii-dmg 0c5bd3f471
Fixed glib source double removal (#327)
Fixed glib source double removal then using Source.Remove (Timeout.Remove, Idle.Remove).
I don't know if fix is correct or safe, but it solves problem that you can test in TimerDemo section from samples.

Repro:
If on Windows you should enable console in samples: <OutputType>Exe</OutputType>
Go to TimerDemo section and press buttons:

1. Add timer
2. Remove timer by handler
3. GC - no error in console

1. Add timer
2. Remove timer
3. GC - error in console "GLib-CRITICAL **: 20:29:41.579: Source ID 123 was not found when attempting to remove it"
2022-01-27 21:49:10 +01:00
..
Sections Fixed glib source double removal (#327) 2022-01-27 21:49:10 +01:00
ApplicationOutput.cs Release samples to public domain 2018-01-26 00:13:36 +01:00
LICENSE Release samples to public domain 2018-01-26 00:13:36 +01:00
MainWindow.cs Added TreeView sample 2021-06-20 14:18:34 +03:00
Program.cs Release samples to public domain 2018-01-26 00:13:36 +01:00
README.md Release samples to public domain 2018-01-26 00:13:36 +01:00
Samples.csproj Fixed sample for ListStore spinner 2022-01-25 19:41:09 +01:00
Testpic.png Samples: add ImageDrawn-Widget to test the override-chain 2020-04-06 22:42:35 +02:00

GtkSharp Samples

This folder contains samples for the GtkSharp project. All samples code is licensed under The Unlicense license, this means that the code in this folder is part of the public domain and you are free to use it however you like.