# HG changeset patch # User Christian Birchinger # Date 1186946208 -7200 # Node ID 469419424896e9ccb218b3d26765a7857d484e72 # Parent 1505426e8d0d3a6d6a70fcc5c973fd21875c2971 Register tact:// with uri_set_plugin diff -r 1505426e8d0d -r 469419424896 src/metronom/metronom.c --- 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,