summaryrefslogtreecommitdiff
path: root/gtk2_ardour/gtk-custom-hruler.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-26 00:58:35 +0000
committerDavid Robillard <d@drobilla.net>2009-02-26 00:58:35 +0000
commit03536cd399131e3fec54c95ae5ac6f11dca05aef (patch)
treece73dfb9f1258c79f0e985840a12842154683479 /gtk2_ardour/gtk-custom-hruler.c
parent3bc71af0ca89354670243e600c70374bfb224c6d (diff)
Fix a bunch of warnings.
Clean up. git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/gtk-custom-hruler.c')
-rw-r--r--gtk2_ardour/gtk-custom-hruler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/gtk-custom-hruler.c b/gtk2_ardour/gtk-custom-hruler.c
index f0bbb9152e..1446fb487f 100644
--- a/gtk2_ardour/gtk-custom-hruler.c
+++ b/gtk2_ardour/gtk-custom-hruler.c
@@ -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",