changeset 1481:469419424896

Register tact:// with uri_set_plugin
author Christian Birchinger <joker@netswarm.net>
date Sun, 12 Aug 2007 21:16:48 +0200
parents 1505426e8d0d
children 3b2a302fe43f
files src/metronom/metronom.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/metronom/metronom.c	Sun Aug 12 20:44:02 2007 +0200
+++ b/src/metronom/metronom.c	Sun Aug 12 21:16:48 2007 +0200
@@ -74,6 +74,11 @@
 		{1.0,0.5,0.5,0.6,0.5,0.5,0.0,0.0}
 	};
 
+static void metronom_init(void)
+{
+	uri_set_plugin("tact://", &metronom_ip);
+}
+
 static void metronom_about(void)
 {
 	static GtkWidget *box;
@@ -268,7 +273,7 @@
 	NULL,
 	NULL,
 	"Tact Generator",
-	NULL,
+	metronom_init,
 	metronom_about,
 	NULL,
 	metronom_is_our_file,