comparison src/audacious/interface.c @ 4675:48cdebc174ef

enabled interface destruction
author mf0102 <0102@gmx.at>
date Sun, 29 Jun 2008 18:04:43 +0200
parents 742abc97b3ab
children 07b4e2a5eedb
comparison
equal deleted inserted replaced
4674:b71d4f3f3afd 4675:48cdebc174ef
50 interface_run(Interface *i) 50 interface_run(Interface *i)
51 { 51 {
52 i->init(); 52 i->init();
53 } 53 }
54 54
55 void
56 interface_destroy(Interface *i)
57 {
58 if (i->fini != NULL)
59 i->fini();
60 }
61
55 Interface * 62 Interface *
56 interface_get(gchar *id) 63 interface_get(gchar *id)
57 { 64 {
58 if (interface_dict_ == NULL) 65 if (interface_dict_ == NULL)
59 return NULL; 66 return NULL;