projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move assignments out of assert() in editor_drag (thanks lincoln); change mouse mode...
[ardour.git]
/
gtk2_ardour
/
gtk-custom-hruler.c
diff --git
a/gtk2_ardour/gtk-custom-hruler.c
b/gtk2_ardour/gtk-custom-hruler.c
index f0bbb9152e97b8c8a3b1d28ffde00b32822e6d09..1446fb487f15479922ff0d6f6839bb7a6a6e87f1 100644
(file)
--- 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;
{
static GType hruler_type = 0;
- if (!hruler_type)
- {
+ if (!hruler_type) {
static const GTypeInfo hruler_info =
{
sizeof (GtkCustomHRulerClass),
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,
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",
};
hruler_type = g_type_register_static (gtk_custom_ruler_get_type(), "GtkCustomHRuler",