Skip to content

Commit

Permalink
Merge pull request #127 from MinnieTheMoocher/gtk-sharp-2-12-branch
Browse files Browse the repository at this point in the history
cure warning CS0253: Possible unintended reference comparison; to get a ...
  • Loading branch information
mhutch committed Sep 8, 2015
2 parents 05426e6 + 7e0ca62 commit eb3ef5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glib/Idle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static bool Remove (IdleHandler hndlr)
foreach (uint code in Source.source_handlers.Keys) {
IdleProxy p = Source.source_handlers [code] as IdleProxy;

if (p != null && p.real_handler == hndlr) {
if (p != null && p.real_handler == (System.Delegate) hndlr) {
keys.Add (code);
result = g_source_remove (code);
}
Expand Down

0 comments on commit eb3ef5f

Please sign in to comment.