GtkSharp/Source/Samples/Sections/Miscellaneous
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
..
ContainerChildPropertiesSection.cs Fixed containers child properties 2022-01-25 19:41:30 +01:00
PixbufSection.cs PixbufSection.cs: ajdust writetestfile to work on windows 2021-03-18 21:04:37 +01:00
PolarFixedSection.cs minnor fixes 2020-05-18 20:20:54 +02:00
SeatSection.cs Add a simple demo for using Gdk.Seat to query the mouse position. 2021-01-08 22:47:47 +01:00
TimerSection.cs Fixed glib source double removal (#327) 2022-01-27 21:49:10 +01:00