~alexlauni/do/clear-universe

« back to all changes in this revision

Viewing changes to Do.Interface.Linux.Docky/src/Docky.Interface/Docky.Interface.Items/AbstractDockItem.cs

  • Committer: Jason Smith
  • Date: 2009-06-24 03:58:55 UTC
  • Revision ID: jason@t500-20090624035855-cna4kbtr6u6obhcq
Fix crash from switching themes introduced by memory leak fix
Fix references to GConf in themes

Show diffs side-by-side

added added

removed removed

Lines of Context:
554
554
                {
555
555
                        Disposed = true;
556
556
                        DockPreferences.IconSizeChanged -= OnIconSizeChanged;
557
 
                        DockWindow.Window.StyleSet -= HandleStyleSet;
 
557
                        if (DockWindow.Window != null)
 
558
                                DockWindow.Window.StyleSet -= HandleStyleSet;
558
559
                        ResetSurfaces ();
559
560
                }
560
561