correct g_object inheritance for custom hruler

git-svn-id: svn://localhost/trunk/ardour2@115 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2005-11-26 02:06:56 +00:00
parent 9d216729fb
commit 99588ce087
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ guint gtk_custom_hruler_get_type (void)
(GInstanceInitFunc) gtk_custom_hruler_init,
};
hruler_type = g_type_register_static (GTK_TYPE_WIDGET, "GtkCustomHRuler",
hruler_type = g_type_register_static (gtk_custom_ruler_get_type(), "GtkCustomHRuler",
&hruler_info, 0);
}