~ubuntu-branches/ubuntu/natty/gtk-sharp2/natty

« back to all changes in this revision

Viewing changes to glib/Idle.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-05-18 00:00:41 UTC
  • mfrom: (1.1.16 upstream) (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100518000041-tlgvki554jx6ndhi
Tags: 2.12.10-1
* New upstream release
* debian/rules:
  + Bump API version to 2.12.10
* debian/control:
  + Bump Standards to 3.8.4 (no changes needed)
* debian/source/format:
  + Force Debian source format 1.0
* debian/rules:
  + Write a get-orig-source rule
* debian/watch:
  + Get rid of evil "debian uupdate" line which breaks packaging work on
    Ubuntu
* debian/patches/01_dllmaps.dpatch:
  + Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
                                proxy_handler = new IdleHandlerInternal (Handler);
43
43
                        }
44
44
 
 
45
                        ~IdleProxy ()
 
46
                        {
 
47
                                Dispose (false);
 
48
                        }
 
49
 
 
50
                        public void Dispose ()
 
51
                        {
 
52
                                Dispose (true);
 
53
                                GC.SuppressFinalize (this);
 
54
                        }
 
55
 
 
56
                        protected virtual void Dispose (bool disposing)
 
57
                        {
 
58
                                // Both branches remove our delegate from the
 
59
                                // managed list of handlers, but only
 
60
                                // Source.Remove will remove it from the
 
61
 
 
62
                                if (disposing)
 
63
                                        Remove ();
 
64
                                else
 
65
                                        Source.Remove (ID);
 
66
                        }
 
67
 
45
68
                        public bool Handler ()
46
69
                        {
47
70
                                try {