public bool Unmap() { Parent.RemoveChildSource(this); Properties.Get <Banshee.Sources.Gui.ISourceContents> ("Nereid.SourceContents").Widget.Destroy(); problem_model.Dispose(); page.Dispose(); return(true); }
public void Dispose() { var service = ServiceManager.Get <PreferenceService> (); if (service == null || source_page == null) { return; } service.InstallWidgetAdapters -= OnPreferencesServiceInstallWidgetAdapters; source_page.Dispose(); source_page = null; }
private void UninstallPreferences() { PreferenceService service = ServiceManager.Get <PreferenceService> (); if (service == null || pref_page == null) { return; } service.InstallWidgetAdapters -= OnPreferencesServiceInstallWidgetAdapters; pref_page.Dispose(); pref_page = null; }
private void UninstallPreferences() { PreferenceService service = ServiceManager.Get <PreferenceService> (); if (service == null || pref_page == null) { return; } pref_page.Dispose(); pref_page = null; pref_section = null; }
private void UninstallPreferences() { pref_page.Dispose(); pref_page = null; pref_section = null; }