Ejemplo n.º 1
0
Archivo: entry.c Proyecto: vifino/dwb
void 
entry_clear_history()
{
    dwb.state.last_com_history = NULL;
    dwb.state.last_nav_history = NULL;
    dwb.state.last_find_history = NULL;
    FREE0(s_store);
    GLIST_FREE0(s_filterlist);
}
Ejemplo n.º 2
0
void 
plugins_free(Plugins *p) 
{
    if (p == NULL) 
        return;

    if (p->clicks != NULL) 
    {
        for (GSList *l = p->clicks; l; l=l->next) 
            g_object_unref(l->data);

        g_slist_free(p->clicks);
    }
    plugins_free_elements(p);
    FREE0(p);
}