Fix erroneous parameter passed to Editor::motion_handler. Makes autoscroll work...
[ardour.git] / gtk2_ardour / gtk-custom-hruler.c
index f0bbb9152e97b8c8a3b1d28ffde00b32822e6d09..1446fb487f15479922ff0d6f6839bb7a6a6e87f1 100644 (file)
@@ -48,8 +48,7 @@ GType gtk_custom_hruler_get_type (void)
 {
        static GType hruler_type = 0;
        
-       if (!hruler_type)
-       {
+       if (!hruler_type) {
                static const GTypeInfo hruler_info =
                        {
                                sizeof (GtkCustomHRulerClass),
@@ -61,6 +60,7 @@ GType gtk_custom_hruler_get_type (void)
                                sizeof (GtkCustomHRuler),
                                0,              /* n_preallocs */
                                (GInstanceInitFunc) gtk_custom_hruler_init,
+                               NULL /* value_table */
                        };
                
                hruler_type = g_type_register_static (gtk_custom_ruler_get_type(), "GtkCustomHRuler",