diff 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
line wrap: on
line diff
--- a/src/audacious/interface.c	Sun Jun 29 17:48:07 2008 +0200
+++ b/src/audacious/interface.c	Sun Jun 29 18:04:43 2008 +0200
@@ -52,6 +52,13 @@
     i->init();
 }
 
+void
+interface_destroy(Interface *i)
+{
+    if (i->fini != NULL)
+        i->fini();
+}
+
 Interface *
 interface_get(gchar *id)
 {