From f8a2291118effc44198cc22a6fb1b650033e8fce Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Thu, 19 Jun 2008 21:37:36 +0100 Subject: [PATCH] Corrected some indentation --- src/gui/widgets/timeline/timeline-ruler.cpp | 80 ++++++++++----------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/src/gui/widgets/timeline/timeline-ruler.cpp b/src/gui/widgets/timeline/timeline-ruler.cpp index 7970191c9..ebecc4805 100644 --- a/src/gui/widgets/timeline/timeline-ruler.cpp +++ b/src/gui/widgets/timeline/timeline-ruler.cpp @@ -43,44 +43,44 @@ namespace timeline { TimelineRuler::TimelineRuler() : Glib::ObjectBase("TimelineRuler") - { - set_flags(Gtk::NO_WINDOW); // This widget will not have a window - set_size_request(-1, 20); - - // Install style properties - timeScale = GAVL_TIME_SCALE / 200; - timeOffset = 0; - } +{ + set_flags(Gtk::NO_WINDOW); // This widget will not have a window + set_size_request(-1, 20); + + // Install style properties + timeScale = GAVL_TIME_SCALE / 200; + timeOffset = 0; +} bool TimelineRuler::on_expose_event(GdkEventExpose* event) - { - // This is where we draw on the window - Glib::RefPtr window = get_window(); - if(!window) - return false; - - // Makes sure the widget styles have been loaded - read_styles(); - - // Prepare to render via cairo - Allocation allocation = get_allocation(); - Glib::RefPtr