Added copyright lines for files I've edited this year.
[synfig.git] / synfig-studio / trunk / src / gtkmm / cellrenderer_time.cpp
index 78560c4..5567a35 100644 (file)
@@ -2,19 +2,21 @@
 /*!    \file cellrenderer_time.cpp
 **     \brief Template File
 **
-**     $Id: cellrenderer_time.cpp,v 1.1.1.1 2005/01/07 03:34:35 darco Exp $
+**     $Id$
 **
 **     \legal
-**     Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2008 Chris Moore
 **
-**     This software and associated documentation
-**     are CONFIDENTIAL and PROPRIETARY property of
-**     the above-mentioned copyright holder.
+**     This package is free software; you can redistribute it and/or
+**     modify it under the terms of the GNU General Public License as
+**     published by the Free Software Foundation; either version 2 of
+**     the License, or (at your option) any later version.
 **
-**     You may not copy, print, publish, or in any
-**     other way distribute this software without
-**     a prior written agreement with
-**     the copyright holder.
+**     This package is distributed in the hope that it will be useful,
+**     but WITHOUT ANY WARRANTY; without even the implied warranty of
+**     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+**     General Public License for more details.
 **     \endlegal
 */
 /* ========================================================================= */
@@ -34,6 +36,8 @@
 #include "app.h"
 #include "widget_time.h"
 
+#include "general.h"
+
 #endif
 
 /* === U S I N G =========================================================== */
@@ -45,10 +49,6 @@ using namespace studio;
 
 /* === M A C R O S ========================================================= */
 
-#if ! defined(_)
-#define _(x)   (x)
-#endif
-
 /* === G L O B A L S ======================================================= */
 
 /* === P R O C E D U R E S ================================================= */
@@ -66,7 +66,8 @@ CellRenderer_Time::CellRenderer_Time():
 
 CellRenderer_Time::~CellRenderer_Time()
 {
-       synfig::info("CellRenderer_Time::~CellRenderer_Time(): deleted");
+       if (getenv("SYNFIG_DEBUG_DESTRUCTORS"))
+               synfig::info("CellRenderer_Time::~CellRenderer_Time(): Deleted");
 }
 
 void
@@ -96,7 +97,7 @@ CellRenderer_Time::render_vfunc(
 
        const Time time(property_time_);
        const float fps((Real)Time(property_fps_));
-       
+
        property_text()=(Glib::ustring)time.get_string(fps,App::get_time_format());
 
        CellRendererText::render_vfunc(window,widget,background_area,ca,expose_area,flags);
@@ -118,7 +119,7 @@ CellRenderer_Time::start_editing_vfunc(
 
        const Time time(property_time_);
        const float fps((Real)Time(property_fps_));
-       
+
        property_text()=(Glib::ustring)time.get_string(fps,App::get_time_format()|Time::FORMAT_FULL);
 #if 0
        Widget_Time* widget_time(manage(new Widget_Time));