static void theme_changed(icons_priv *ics) { ENTER; drop_config(ics); ics_parse_config(ics); do_net_client_list(ics); RET(); }
void git_repository_set_config(git_repository *repo, git_config *config) { assert(repo && config); drop_config(repo); repo->_config = config; GIT_REFCOUNT_OWN(repo->_config, repo); }
static void icons_destructor(plugin_instance *p) { icons_priv *ics = (icons_priv *) p; ENTER; g_signal_handlers_disconnect_by_func(G_OBJECT (fbev), do_net_client_list, ics); g_signal_handlers_disconnect_by_func(G_OBJECT(gtk_icon_theme_get_default()), theme_changed, ics); gdk_window_remove_filter(NULL, (GdkFilterFunc)ics_event_filter, ics ); drop_config(ics); g_hash_table_destroy(ics->task_list); RET(); }
void git_repository_free(git_repository *repo) { if (repo == NULL) return; git_cache_free(&repo->objects); git_repository__refcache_free(&repo->references); git_attr_cache_flush(repo); git_submodule_config_free(repo); git__free(repo->path_repository); git__free(repo->workdir); drop_config(repo); drop_index(repo); drop_odb(repo); git__free(repo); }