Author: Carlos Lopez <[email protected]>
Date:   Sun Mar 10 16:56:54 2013 +0100

Remove unused variables

---

 synfig-studio/src/gui/workarea.cpp |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/synfig-studio/src/gui/workarea.cpp 
b/synfig-studio/src/gui/workarea.cpp
index f034288..36b889e 100644
--- a/synfig-studio/src/gui/workarea.cpp
+++ b/synfig-studio/src/gui/workarea.cpp
@@ -104,9 +104,7 @@ public:
        bool low_res;
        int w,h;
        int real_tile_w,real_tile_h;
-       //std::vector<Glib::RefPtr<Gdk::Pixbuf> >::iterator tile_iter;
 
-       int twindow_start, twindow_width, twindow_height, twindow_pad;
        int refresh_id;
 
        bool onionskin;
@@ -275,19 +273,7 @@ public:
        virtual bool start_frame(synfig::ProgressCallback */*cb*/)
        {
                synfig::Mutex::Lock lock(mutex);
-
-               int tw(rend_desc().get_w()/get_tile_w());
-               if(rend_desc().get_w()%get_tile_w()!=0)tw++;
-               int th(rend_desc().get_h()/get_tile_h());
-               if(rend_desc().get_h()%get_tile_h()!=0)th++;
-
-               twindow_start=0;
-               twindow_width=tw;
-               twindow_height=th;
-               twindow_pad=0;
-
                workarea->tile_book.resize(total_tiles());
-               //tile_iter=workarea->tile_book.begin()+twindow_start;
                return true;
        }
 
@@ -548,9 +534,7 @@ public:
        bool low_res;
        int w,h;
        int real_tile_w,real_tile_h;
-       //std::vector<Glib::RefPtr<Gdk::Pixbuf> >::iterator tile_iter;
 
-       int twindow_start, twindow_width, twindow_height, twindow_pad;
        int refresh_id;
 
        bool onionskin;


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to